aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/silphco7.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/silphco7.asm
parentMerge branch 'master' of https://github.com/YamaArashi/pokered (diff)
parentconstants for flag actions (diff)
downloadpokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.tar.gz
pokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.tar.xz
pokeyellow-13e28b0ece7c7888cba792cc6f7219b384213427.zip
Merge pull request #106 from YamaArashi/master
jpab/jpba macros
Diffstat (limited to 'scripts/silphco7.asm')
-rwxr-xr-xscripts/silphco7.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/silphco7.asm b/scripts/silphco7.asm
index 5043b947..78d6e0d7 100755
--- a/scripts/silphco7.asm
+++ b/scripts/silphco7.asm
@@ -127,8 +127,8 @@ SilphCo7Script0: ; 51c23 (14:5c23)
ld [hJoyHeld], a
ld a, $f0
ld [wJoyIgnore], a
- ld a, $4
- ld [wd528], a
+ ld a, PLAYER_DIR_DOWN
+ ld [wPlayerMovingDirection], a
ld a, $ff
ld [wc0ee], a
call PlaySound
@@ -209,8 +209,8 @@ SilphCo7Script4: ; 51cc8 (14:5cc8)
ld [wJoyIgnore], a
ld hl, wd82f
set 0, [hl]
- ld a, $4
- ld [wd528], a
+ ld a, PLAYER_DIR_DOWN
+ ld [wPlayerMovingDirection], a
ld a, $9
ld [H_SPRITEINDEX], a
ld a, SPRITE_FACING_UP