mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Use decimal, not hex, for sprite (object) coordinates in map scripts
This commit is contained in:
parent
407b813250
commit
637f38b139
13 changed files with 47 additions and 47 deletions
|
|
@ -24,10 +24,10 @@ ViridianCityScript_1900b:
|
|||
ret
|
||||
.gym_closed
|
||||
ld a, [wYCoord]
|
||||
cp $8
|
||||
cp 8
|
||||
ret nz
|
||||
ld a, [wXCoord]
|
||||
cp $20
|
||||
cp 32
|
||||
ret nz
|
||||
ld a, $e
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
|
|
@ -43,10 +43,10 @@ ViridianCityScript_1903d:
|
|||
CheckEvent EVENT_GOT_POKEDEX
|
||||
ret nz
|
||||
ld a, [wYCoord]
|
||||
cp $9
|
||||
cp 9
|
||||
ret nz
|
||||
ld a, [wXCoord]
|
||||
cp $13
|
||||
cp 19
|
||||
ret nz
|
||||
ld a, $5
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue