aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-09-15 18:10:45 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-09-15 18:10:45 -0400
commit3520a4c99a530c7464a7e9e5b956cfcdbe4b28d6 (patch)
tree471cc5f66e0f014d97ebe0ae2e5a98926d8774cf /scripts
parentAdd `UNUSED_TYPE`/`UNUSED_TYPE_END` constants (diff)
downloadpokeyellow-3520a4c99a530c7464a7e9e5b956cfcdbe4b28d6.tar.gz
pokeyellow-3520a4c99a530c7464a7e9e5b956cfcdbe4b28d6.tar.xz
pokeyellow-3520a4c99a530c7464a7e9e5b956cfcdbe4b28d6.zip
Distinguish Elite 4 "meta" constants from event constants
Fixes #390
Diffstat (limited to 'scripts')
-rw-r--r--scripts/HallOfFame.asm2
-rw-r--r--scripts/IndigoPlateauLobby.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/HallOfFame.asm b/scripts/HallOfFame.asm
index fd13719b..45cef29c 100644
--- a/scripts/HallOfFame.asm
+++ b/scripts/HallOfFame.asm
@@ -40,7 +40,7 @@ HallofFameRoomScript2:
ld [wLancesRoomCurScript], a
ld [wHallOfFameCurScript], a
; Elite 4 events
- ResetEventRange ELITE4_EVENTS_START, ELITE4_CHAMPION_EVENTS_END, 1
+ ResetEventRange INDIGO_PLATEAU_EVENTS_START, INDIGO_PLATEAU_EVENTS_END, 1
xor a
ld [wHallOfFameCurScript], a
ld a, PALLET_TOWN
diff --git a/scripts/IndigoPlateauLobby.asm b/scripts/IndigoPlateauLobby.asm
index a9b549e3..d5c89536 100644
--- a/scripts/IndigoPlateauLobby.asm
+++ b/scripts/IndigoPlateauLobby.asm
@@ -11,7 +11,7 @@ IndigoPlateauLobby_Script:
res 1, [hl]
ret z
; Elite 4 events
- ResetEventRange ELITE4_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
+ ResetEventRange INDIGO_PLATEAU_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
ret
IndigoPlateauLobby_TextPointers: