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
|
|
@ -38,7 +38,7 @@ VermilionCity_ScriptPointers:
|
|||
dw VermilionCityScript4
|
||||
|
||||
VermilionCityScript0:
|
||||
ld a, [wSpriteStateData1 + 9]
|
||||
ld a, [wSpritePlayerStateData1FacingDirection]
|
||||
and a ; cp SPRITE_FACING_DOWN
|
||||
ret nz
|
||||
ld hl, SSAnneTicketCheckCoords
|
||||
|
|
@ -157,7 +157,7 @@ VermilionCityText3:
|
|||
text_asm
|
||||
CheckEvent EVENT_SS_ANNE_LEFT
|
||||
jr nz, .shipHasDeparted
|
||||
ld a, [wSpriteStateData1 + 9]
|
||||
ld a, [wSpritePlayerStateData1FacingDirection]
|
||||
cp SPRITE_FACING_RIGHT
|
||||
jr z, .greetPlayer
|
||||
ld hl, .inFrontOfOrBehindGuardCoords
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue