summaryrefslogtreecommitdiff
path: root/scripts/halloffameroom.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/halloffameroom.asm')
-rwxr-xr-xscripts/halloffameroom.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/halloffameroom.asm b/scripts/halloffameroom.asm
index de3cd779..89b1123e 100755
--- a/scripts/halloffameroom.asm
+++ b/scripts/halloffameroom.asm
@@ -1,13 +1,13 @@
HallofFameRoomScript: ; 5a49e (16:649e)
call EnableAutoTextBoxDrawing
ld hl, HallofFameRoomScriptPointers
- ld a, [W_HALLOFFAMEROOMCURSCRIPT]
+ ld a, [wHallOfFameRoomCurScript]
jp CallFunctionInTable
HallofFameRoomScript_5a4aa: ; 5a4aa (16:64aa)
xor a
ld [wJoyIgnore], a
- ld [W_HALLOFFAMEROOMCURSCRIPT], a
+ ld [wHallOfFameRoomCurScript], a
ret
HallofFameRoomScriptPointers: ; 5a4b2 (16:64b2)
@@ -28,21 +28,21 @@ HallofFameRoomScript2: ; 5a4bb (16:64bb)
predef HallOfFamePC
pop af
ld [wLetterPrintingDelayFlags], a
- ld hl, W_FLAGS_D733
+ ld hl, wFlags_D733
res 1, [hl]
inc hl
set 0, [hl]
xor a
- ld hl, W_LORELEICURSCRIPT
+ ld hl, wLoreleiCurScript
ld [hli], a
ld [hli], a
ld [hl], a
- ld [W_LANCECURSCRIPT], a
- ld [W_HALLOFFAMEROOMCURSCRIPT], a
+ ld [wLanceCurScript], a
+ ld [wHallOfFameRoomCurScript], a
; Elite 4 events
ResetEventRange ELITE4_EVENTS_START, ELITE4_CHAMPION_EVENTS_END, 1
xor a
- ld [W_HALLOFFAMEROOMCURSCRIPT], a
+ ld [wHallOfFameRoomCurScript], a
ld a, PALLET_TOWN
ld [wLastBlackoutMap], a
callba SaveSAVtoSRAM
@@ -65,7 +65,7 @@ HallofFameRoomScript0: ; 5a50d (16:650d)
ld [wSimulatedJoypadStatesIndex], a
call StartSimulatingJoypadStates
ld a, $1
- ld [W_HALLOFFAMEROOMCURSCRIPT], a
+ ld [wHallOfFameRoomCurScript], a
ret
RLEMovement5a528: ; 5a528 (16:6528)
@@ -98,7 +98,7 @@ HallofFameRoomScript1: ; 5a52b (16:652b)
ld [wMissableObjectIndex], a
predef HideObject
ld a, $2
- ld [W_HALLOFFAMEROOMCURSCRIPT], a
+ ld [wHallOfFameRoomCurScript], a
ret
HallofFameRoomTextPointers: ; 5a56a (16:656a)