Little cleanup on engine/scripting.asm

This commit is contained in:
PikalaxALT 2015-11-16 12:49:42 -05:00
parent fb88b2ccf8
commit 4b5424368f
2 changed files with 426 additions and 424 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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