mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
This commit is contained in:
parent
7ab43f4d17
commit
2b2ed54bbf
62 changed files with 182 additions and 179 deletions
|
|
@ -25,7 +25,7 @@ SafariZoneGate_ScriptPointers:
|
|||
xor a
|
||||
ld [hJoyHeld], a
|
||||
ld a, SPRITE_FACING_RIGHT
|
||||
ld [wSpriteStateData1 + 9], a
|
||||
ld [wSpritePlayerStateData1FacingDirection], a
|
||||
ld a, [wCoordIndex]
|
||||
cp $1
|
||||
jr z, .asm_7520f
|
||||
|
|
@ -231,7 +231,7 @@ SafariZoneGate_TextPointers:
|
|||
ld hl, .SafariZoneEntranceText_753bb
|
||||
call PrintText
|
||||
xor a
|
||||
ld [wSpriteStateData1 + 9], a
|
||||
ld [wSpritePlayerStateData1FacingDirection], a
|
||||
ld a, D_DOWN
|
||||
ld c, $3
|
||||
call SafariZoneEntranceAutoWalk
|
||||
|
|
@ -243,7 +243,7 @@ SafariZoneGate_TextPointers:
|
|||
ld hl, .SafariZoneEntranceText_753c0
|
||||
call PrintText
|
||||
ld a, SPRITE_FACING_UP
|
||||
ld [wSpriteStateData1 + 9], a
|
||||
ld [wSpritePlayerStateData1FacingDirection], a
|
||||
ld a, D_UP
|
||||
ld c, $1
|
||||
call SafariZoneEntranceAutoWalk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue