diff options
| author | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:29 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:46 -0700 |
| commit | fc9af362ae65d24c66b39ea7759637cc9c1f9b0a (patch) | |
| tree | 37074f79564b1e47b109566dfd9c3c454a4cc226 /engine/items/items.asm | |
| parent | Enumerate map constants (diff) | |
| download | pokeyellow-fc9af362ae65d24c66b39ea7759637cc9c1f9b0a.tar.gz pokeyellow-fc9af362ae65d24c66b39ea7759637cc9c1f9b0a.tar.xz pokeyellow-fc9af362ae65d24c66b39ea7759637cc9c1f9b0a.zip | |
fix variable naming
Diffstat (limited to 'engine/items/items.asm')
| -rwxr-xr-x | engine/items/items.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm index b65e8f1e..7617ba6c 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -556,11 +556,11 @@ ItemUseSurfboard: ; d9b4 (3:59b4) jp PrintText .tryToStopSurfing xor a - ld [$ff8c],a + ld [hSpriteIndexOrTextID],a ld d,16 ; talking range in pixels (normal range) call IsSpriteInFrontOfPlayer2 res 7,[hl] - ld a,[$ff8c] + ld a,[hSpriteIndexOrTextID] and a ; is there a sprite in the way? jr nz,.cannotStopSurfing ld hl,TilePairCollisionsWater |
