mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use *Coord instead of FuncCoord
Using 'Coord =' doesn't like using wTileMap So use hlCoord, deCoord, bcCoord, aCoord, Coorda, or dwCoord to avoid static addresses
This commit is contained in:
parent
b36f793667
commit
bd533aa79b
53 changed files with 519 additions and 975 deletions
|
|
@ -56,12 +56,10 @@ BikeShopText1: ; 1d745 (7:5745)
|
|||
ld c, $f
|
||||
call TextBoxBorder
|
||||
call UpdateSprites
|
||||
FuncCoord 2, 2
|
||||
ld hl, Coord
|
||||
hlCoord 2, 2
|
||||
ld de, BikeShopMenuText
|
||||
call PlaceString
|
||||
FuncCoord 8, 3
|
||||
ld hl, Coord
|
||||
hlCoord 8, 3
|
||||
ld de, BikeShopMenuPrice
|
||||
call PlaceString
|
||||
ld hl, BikeShopText_1d815
|
||||
|
|
|
|||
|
|
@ -467,40 +467,32 @@ CeladonGameCornerText_48f19: ; 48f19 (12:4f19)
|
|||
CeladonGameCornerScript_48f1e: ; 48f1e (12:4f1e)
|
||||
ld hl, wd730
|
||||
set 6, [hl]
|
||||
FuncCoord 11, 0
|
||||
ld hl, Coord
|
||||
hlCoord 11, 0
|
||||
ld b, $5
|
||||
ld c, $7
|
||||
call TextBoxBorder
|
||||
call UpdateSprites
|
||||
FuncCoord 12, 1
|
||||
ld hl, Coord
|
||||
hlCoord 12, 1
|
||||
ld b, $4
|
||||
ld c, $7
|
||||
call ClearScreenArea
|
||||
FuncCoord 12, 2
|
||||
ld hl, Coord
|
||||
hlCoord 12, 2
|
||||
ld de, GameCornerMoneyText
|
||||
call PlaceString
|
||||
FuncCoord 12, 3
|
||||
ld hl, Coord
|
||||
hlCoord 12, 3
|
||||
ld de, GameCornerBlankText1
|
||||
call PlaceString
|
||||
FuncCoord 12, 3
|
||||
ld hl, Coord
|
||||
hlCoord 12, 3
|
||||
ld de, wPlayerMoney
|
||||
ld c, $a3
|
||||
call PrintBCDNumber
|
||||
FuncCoord 12, 4
|
||||
ld hl, Coord
|
||||
hlCoord 12, 4
|
||||
ld de, GameCornerCoinText
|
||||
call PlaceString
|
||||
FuncCoord 12, 5
|
||||
ld hl, Coord
|
||||
hlCoord 12, 5
|
||||
ld de, GameCornerBlankText2
|
||||
call PlaceString
|
||||
FuncCoord 15, 5
|
||||
ld hl, Coord
|
||||
hlCoord 15, 5
|
||||
ld de, wPlayerCoins
|
||||
ld c, $82
|
||||
call PrintBCDNumber
|
||||
|
|
|
|||
|
|
@ -200,8 +200,7 @@ CeladonMartRoofScript_48532: ; 48532 (12:4532)
|
|||
push hl
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
FuncCoord 2, 2
|
||||
ld hl, Coord
|
||||
hlCoord 2, 2
|
||||
ld a, [$ffdb]
|
||||
ld bc, $28
|
||||
call AddNTimes
|
||||
|
|
|
|||
|
|
@ -53,8 +53,7 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b)
|
|||
call DelayFrames
|
||||
ld b, $9c
|
||||
call CopyScreenTileBufferToVRAM
|
||||
FuncCoord 0, 10
|
||||
ld hl, Coord
|
||||
hlCoord 0, 10
|
||||
ld bc, $0078
|
||||
ld a, $14
|
||||
call FillMemory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue