mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
sync text
This commit is contained in:
parent
bcb251261d
commit
3a6a300da4
19 changed files with 238 additions and 220 deletions
|
|
@ -29,6 +29,16 @@ D_LEFT EQU %00100000
|
|||
D_UP EQU %01000000
|
||||
D_DOWN EQU %10000000
|
||||
|
||||
const_value set 0
|
||||
const BIT_A_BUTTON
|
||||
const BIT_B_BUTTON
|
||||
const BIT_SELECT
|
||||
const BIT_START
|
||||
const BIT_D_RIGHT
|
||||
const BIT_D_LEFT
|
||||
const BIT_D_UP
|
||||
const BIT_D_DOWN
|
||||
|
||||
SCREEN_WIDTH EQU 20
|
||||
SCREEN_HEIGHT EQU 18
|
||||
|
||||
|
|
@ -152,20 +162,6 @@ FLAG_RESET EQU 0
|
|||
FLAG_SET EQU 1
|
||||
FLAG_TEST EQU 2
|
||||
|
||||
; special text IDs
|
||||
TEXT_MON_FAINTED EQU $d0
|
||||
TEXT_BLACKED_OUT EQU $d1
|
||||
TEXT_REPEL_WORE_OFF EQU $d2
|
||||
TEXT_SAFARI_GAME_OVER EQU $d3
|
||||
|
||||
; PrintNumber
|
||||
|
||||
BIT_LEFT_ALIGN EQU 6
|
||||
BIT_LEADING_ZEROES EQU 7
|
||||
|
||||
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
|
||||
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
|
||||
|
||||
; HP bar
|
||||
HP_BAR_GREEN EQU 0
|
||||
HP_BAR_YELLOW EQU 1
|
||||
|
|
|
|||
14
constants/text_constants.asm
Normal file
14
constants/text_constants.asm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
; special text IDs
|
||||
TEXT_MON_FAINTED EQU $d0
|
||||
TEXT_BLACKED_OUT EQU $d1
|
||||
TEXT_REPEL_WORE_OFF EQU $d2
|
||||
TEXT_SAFARI_GAME_OVER EQU $d3
|
||||
|
||||
; PrintNumber
|
||||
BIT_MONEY_SIGN EQU 5
|
||||
BIT_LEFT_ALIGN EQU 6
|
||||
BIT_LEADING_ZEROES EQU 7
|
||||
|
||||
MONEY_SIGN EQU (1 << BIT_MONEY_SIGN)
|
||||
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
|
||||
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
|
||||
Loading…
Add table
Add a link
Reference in a new issue