mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Little cleanup on engine/scripting.asm
This commit is contained in:
parent
fb88b2ccf8
commit
4b5424368f
File diff suppressed because it is too large
Load Diff
@ -293,9 +293,9 @@ checktime: macro
|
||||
db \1 ; time
|
||||
endm
|
||||
|
||||
checkmorn EQUS "checktime 1"
|
||||
checkday EQUS "checktime 2"
|
||||
checknite EQUS "checktime 4"
|
||||
checkmorn EQUS "checktime 1 << MORN"
|
||||
checkday EQUS "checktime 1 << DAY"
|
||||
checknite EQUS "checktime 1 << NITE"
|
||||
|
||||
enum checkpoke_command
|
||||
checkpoke: macro
|
||||
@ -496,9 +496,9 @@ loadmovesprites: macro
|
||||
db loadmovesprites_command
|
||||
endm
|
||||
|
||||
enum loadbytec1ce_command
|
||||
loadbytec1ce: macro
|
||||
db loadbytec1ce_command
|
||||
enum loadbytec2cf_command
|
||||
loadbytec2cf: macro
|
||||
db loadbytec2cf_command
|
||||
db \1 ; byte
|
||||
endm
|
||||
|
||||
@ -544,12 +544,14 @@ jumptextfaceplayer: macro
|
||||
dw \1 ; text_pointer
|
||||
endm
|
||||
|
||||
; IF _CRYSTAL
|
||||
enum farjumptext_command
|
||||
farjumptext: macro
|
||||
db farjumptext_command
|
||||
db BANK(\1)
|
||||
dw \1
|
||||
endm
|
||||
; ENDC
|
||||
|
||||
enum jumptext_command
|
||||
jumptext: macro
|
||||
|
Loading…
Reference in New Issue
Block a user