mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-09-29 03:46:43 -05:00
Remove some hardcoded addresses, and update PrintNumber+PrintBCDNumber flags (#174)
This commit is contained in:
@@ -410,7 +410,7 @@ DisplayBGEventDetails:
|
||||
|
||||
hlcoord 17, 14
|
||||
ld de, wFieldMoveScriptID
|
||||
ld bc, $8102
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
|
||||
call PrintNumber
|
||||
|
||||
hlcoord 14, 16
|
||||
@@ -419,7 +419,7 @@ DisplayBGEventDetails:
|
||||
|
||||
hlcoord 17, 16
|
||||
ld de, wHPBarNewHP
|
||||
ld bc, $8102
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
|
||||
call PrintNumber
|
||||
|
||||
ret
|
||||
|
||||
@@ -76,7 +76,7 @@ DebugMart_BuyMenuHeader:
|
||||
ld d, h
|
||||
ld e, l
|
||||
pop hl
|
||||
ld c, $83
|
||||
ld c, 3 | PRINTNUM_LEADINGZEROS
|
||||
call PrintBCDNumber
|
||||
ld [hl], '円'
|
||||
ret
|
||||
|
||||
@@ -150,7 +150,7 @@ FieldDebug_SpriteViewer:
|
||||
.display_loop
|
||||
push bc
|
||||
push hl
|
||||
ld bc, $8103
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 1, 3
|
||||
ld de, wStringBuffer1
|
||||
call PrintNumber
|
||||
ld a, [wStringBuffer1]
|
||||
|
||||
Reference in New Issue
Block a user