Start porting scrcmd from emerald

This commit is contained in:
PikalaxALT
2019-01-05 23:13:12 -05:00
parent 103789770b
commit 0eba7e0870
7 changed files with 266 additions and 562 deletions
+1 -17
View File
@@ -657,23 +657,7 @@ gUnknown_83A720C:: @ 83A720C
gUnknown_83A7240:: @ 83A7240
.asciz "0"
.align 2
gNullScriptPtr:: @ 83A7244
.incbin "baserom.gba", 0x3A7244, 0x4
gUnknown_83A7248:: @ 83A7248
.incbin "baserom.gba", 0x3A7248, 0x14
gUnknown_83A725C:: @ 83A725C
.asciz "C:/WORK/POKeFRLG/src/pm_lgfr_ose/source/scrcmd.c"
.align 2
gUnknown_83A7290:: @ 83A7290
.asciz "0"
.align 2
gUnknown_83A7294:: @ 83A7294
.incbin "baserom.gba", 0x3A7294, 0xC
.section .rodata.83A72A0
gUnknown_83A72A0:: @ 83A72A0
.incbin "baserom.gba", 0x3A72A0, 0x2
+1 -1
View File
@@ -40,7 +40,7 @@ gStdScripts:: @ 8160450
.4byte gStdScript_81A676C
.4byte gStdScript_81A8E58
.4byte gStdScript_81A4E66
gStdScripts_End::
gStdScriptsEnd::
gUnknown_8160478:: @ 8160478
.incbin "baserom.gba", 0x160478, 0x886C
+6 -6
View File
@@ -1,8 +1,8 @@
.align 2
gScriptCmdTable:: @ 815F9B4
.4byte sub_8069ED0
.4byte sub_8069ED4
.4byte ScrCmd_nop
.4byte ScrCmd_nop1
.4byte ScrCmd_end
.4byte ScrCmd_return
.4byte ScrCmd_call
@@ -38,9 +38,9 @@ gScriptCmdTable:: @ 815F9B4
.4byte ScrCmd_compare_var_to_var
.4byte ScrCmd_callnative
.4byte ScrCmd_gotonative
.4byte sub_8069EFC
.4byte sub_8069F3C
.4byte sub_8069FA4
.4byte ScrCmd_special
.4byte ScrCmd_specialvar
.4byte ScrCmd_waitstate
.4byte ScrCmd_delay
.4byte ScrCmd_setflag
.4byte ScrCmd_clearflag
@@ -216,4 +216,4 @@ gScriptCmdTable:: @ 815F9B4
.4byte sub_806BD90
gScriptCmdTableEnd:: @ 815FD08
.4byte sub_8069ED0
.4byte ScrCmd_nop