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
|
|
@ -80,7 +80,7 @@ ENDC
|
|||
ld a, $f0
|
||||
ld [wJoyIgnore], a
|
||||
ld a, [wXCoord]
|
||||
cp $14
|
||||
cp 20
|
||||
jr z, .asm_19535
|
||||
ld a, $1
|
||||
ldh [hSpriteIndex], a
|
||||
|
|
@ -183,7 +183,7 @@ CeruleanCityScript2:
|
|||
ldh [hSpriteIndex], a
|
||||
call SetSpriteMovementBytesToFF
|
||||
ld a, [wXCoord]
|
||||
cp $14
|
||||
cp 20
|
||||
jr nz, .asm_195f0
|
||||
ld de, CeruleanCityMovement4
|
||||
jr .asm_195f3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue