You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use more constants in scripts
This commit is contained in:
@@ -424,9 +424,9 @@ readcoins: MACRO
|
||||
db \1 ; memory
|
||||
ENDM
|
||||
|
||||
enum RAM2MEM_command ; $3f
|
||||
RAM2MEM: MACRO
|
||||
db RAM2MEM_command
|
||||
enum vartomem_command ; $3f
|
||||
vartomem: MACRO
|
||||
db vartomem_command
|
||||
db \1 ; memory
|
||||
ENDM
|
||||
|
||||
@@ -483,7 +483,11 @@ ENDM
|
||||
enum refreshscreen_command ; $48
|
||||
refreshscreen: MACRO
|
||||
db refreshscreen_command
|
||||
if _NARG == 1
|
||||
db \1 ; dummy
|
||||
else
|
||||
db 0
|
||||
endc
|
||||
ENDM
|
||||
|
||||
enum closetext_command ; $49
|
||||
|
Reference in New Issue
Block a user