File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,13 @@ org $A48753
283283endif
284284 JSR hook_crocomire_rng
285285
286+ if !FEATURE_PAL
287+ org $A48A9F
288+ else
289+ org $A48A8F
290+ endif
291+ JSR hook_crocomire_scroll
292+
286293if !FEATURE_PAL
287294org $A48CED
288295else
@@ -902,6 +909,23 @@ hook_crocomire_rng:
902909 RTS
903910}
904911
912+ hook_crocomire_scroll:
913+ {
914+ LDA !ram_door_portal_flags : AND !DOOR_PORTAL_MODE_MASK
915+ CMP #$0002 : BNE .vanilla
916+ LDA !ram_door_destination : ASL : TAX
917+ LDA portals_right_vanilla_table,X : CMP #$93DE : BNE .vanilla
918+
919+ ; In map rando when right door selected,
920+ ; do not set red scrolls
921+ LDA $7ECD20
922+ RTS
923+
924+ .vanilla
925+ TDC
926+ RTS
927+ }
928+
905929hook_crocomire_damage:
906930{
907931 LDA !sram_suppress_flashing : BIT !SUPPRESS_BOSS_DAMAGE_FLASH : BNE .suppress
You can’t perform that action at this time.
0 commit comments