mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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
|
db \1 ; time
|
||||||
endm
|
endm
|
||||||
|
|
||||||
checkmorn EQUS "checktime 1"
|
checkmorn EQUS "checktime 1 << MORN"
|
||||||
checkday EQUS "checktime 2"
|
checkday EQUS "checktime 1 << DAY"
|
||||||
checknite EQUS "checktime 4"
|
checknite EQUS "checktime 1 << NITE"
|
||||||
|
|
||||||
enum checkpoke_command
|
enum checkpoke_command
|
||||||
checkpoke: macro
|
checkpoke: macro
|
||||||
@ -496,9 +496,9 @@ loadmovesprites: macro
|
|||||||
db loadmovesprites_command
|
db loadmovesprites_command
|
||||||
endm
|
endm
|
||||||
|
|
||||||
enum loadbytec1ce_command
|
enum loadbytec2cf_command
|
||||||
loadbytec1ce: macro
|
loadbytec2cf: macro
|
||||||
db loadbytec1ce_command
|
db loadbytec2cf_command
|
||||||
db \1 ; byte
|
db \1 ; byte
|
||||||
endm
|
endm
|
||||||
|
|
||||||
@ -544,12 +544,14 @@ jumptextfaceplayer: macro
|
|||||||
dw \1 ; text_pointer
|
dw \1 ; text_pointer
|
||||||
endm
|
endm
|
||||||
|
|
||||||
|
; IF _CRYSTAL
|
||||||
enum farjumptext_command
|
enum farjumptext_command
|
||||||
farjumptext: macro
|
farjumptext: macro
|
||||||
db farjumptext_command
|
db farjumptext_command
|
||||||
db BANK(\1)
|
db BANK(\1)
|
||||||
dw \1
|
dw \1
|
||||||
endm
|
endm
|
||||||
|
; ENDC
|
||||||
|
|
||||||
enum jumptext_command
|
enum jumptext_command
|
||||||
jumptext: macro
|
jumptext: macro
|
||||||
|
Loading…
Reference in New Issue
Block a user