summaryrefslogtreecommitdiff
path: root/scripts/halloffameroom.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-20 17:40:25 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-20 17:40:25 -0500
commit13e28b0ece7c7888cba792cc6f7219b384213427 (patch)
tree4dcd58e0fe7ac33bf38817f423754dc758cb902f /scripts/halloffameroom.asm
parent64b4cf624fe2175e2c7539b91bc41b6dae28a00e (diff)
parentdb7d941d22d89cf8d6d13cbf768208c5cf2ac2c2 (diff)
Merge pull request #106 from YamaArashi/master
jpab/jpba macros
Diffstat (limited to 'scripts/halloffameroom.asm')
-rwxr-xr-xscripts/halloffameroom.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/halloffameroom.asm b/scripts/halloffameroom.asm
index 680ebdd9..bc0d19e1 100755
--- a/scripts/halloffameroom.asm
+++ b/scripts/halloffameroom.asm
@@ -80,19 +80,19 @@ HallofFameRoomScript1: ; 5a52b (16:652b)
ld a, [wSimulatedJoypadStatesIndex]
and a
ret nz
- ld a, $1
- ld [wd528], a
+ ld a, PLAYER_DIR_RIGHT
+ ld [wPlayerMovingDirection], a
ld a, $1
ld [H_SPRITEINDEX], a
call SetSpriteMovementBytesToFF
- ld a, $8
+ ld a, SPRITE_FACING_LEFT
ld [hSpriteFacingDirection], a
call SetSpriteFacingDirectionAndDelay
call Delay3
xor a
ld [wJoyIgnore], a
- inc a
- ld [wd528], a
+ inc a ; PLAYER_DIR_RIGHT
+ ld [wPlayerMovingDirection], a
ld a, $1
ld [hSpriteIndexOrTextID], a
call DisplayTextID