decompile field tasks

This commit is contained in:
DizzyEggg
2018-05-19 18:02:43 +02:00
parent 0c1f85f200
commit d1798d0ed9
113 changed files with 1886 additions and 3080 deletions

View File

@@ -4,7 +4,7 @@ BattleFrontier_Lounge7_MapScripts:: @ 8265254
BattleFrontier_Lounge7_EventScript_265255:: @ 8265255
lock
faceplayer
setvar VAR_0x400C, 9
setvar VAR_TEMP_C, 9
checkflag FLAG_0x15A
goto_eq BattleFrontier_Lounge7_EventScript_265276
msgbox BattleFrontier_Lounge7_Text_2656ED, 4
@@ -21,12 +21,12 @@ BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
message BattleFrontier_Lounge7_Text_2658EF
waitmessage
special sub_813A958
setvar VAR_0x400E, 0
setvar VAR_TEMP_E, 0
setvar VAR_0x8004, 9
setvar VAR_0x8006, 0
special sub_813A128
waitstate
copyvar VAR_0x400D, VAR_RESULT
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2653D7
case 1, BattleFrontier_Lounge7_EventScript_2653E2
@@ -45,12 +45,12 @@ BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
BattleFrontier_Lounge7_EventScript_26532F:: @ 826532F
message BattleFrontier_Lounge7_Text_2658EF
waitmessage
setvar VAR_0x400E, 0
setvar VAR_TEMP_E, 0
setvar VAR_0x8004, 9
setvar VAR_0x8006, 1
special sub_813A128
waitstate
copyvar VAR_0x400D, VAR_RESULT
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2653D7
case 1, BattleFrontier_Lounge7_EventScript_2653E2
@@ -119,7 +119,7 @@ BattleFrontier_Lounge7_EventScript_26543A:: @ 826543A
BattleFrontier_Lounge7_EventScript_265445:: @ 8265445
lock
faceplayer
setvar VAR_0x400C, 10
setvar VAR_TEMP_C, 10
checkflag FLAG_0x15B
goto_eq BattleFrontier_Lounge7_EventScript_265466
msgbox BattleFrontier_Lounge7_Text_265A6C, 4
@@ -136,12 +136,12 @@ BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
message BattleFrontier_Lounge7_Text_2658EF
waitmessage
special sub_813A958
setvar VAR_0x400E, 1
setvar VAR_TEMP_E, 1
setvar VAR_0x8004, 10
setvar VAR_0x8006, 0
special sub_813A128
waitstate
copyvar VAR_0x400D, VAR_RESULT
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2655C7
case 1, BattleFrontier_Lounge7_EventScript_2655D2
@@ -160,12 +160,12 @@ BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
BattleFrontier_Lounge7_EventScript_26551F:: @ 826551F
message BattleFrontier_Lounge7_Text_2658EF
waitmessage
setvar VAR_0x400E, 1
setvar VAR_TEMP_E, 1
setvar VAR_0x8004, 10
setvar VAR_0x8006, 1
special sub_813A128
waitstate
copyvar VAR_0x400D, VAR_RESULT
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2655C7
case 1, BattleFrontier_Lounge7_EventScript_2655D2
@@ -244,16 +244,16 @@ BattleFrontier_Lounge7_EventScript_265645:: @ 8265645
end
BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
copyvar VAR_0x8004, VAR_0x400D
copyvar VAR_0x8005, VAR_0x400E
copyvar VAR_0x8004, VAR_TEMP_D
copyvar VAR_0x8005, VAR_TEMP_E
special sub_813AC7C
buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_0x400C
copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_265921, 5
compare VAR_RESULT, 0
goto_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_0x4001, sub_813AA04
compare VAR_0x4001, VAR_0x8008
specialvar VAR_TEMP_1, sub_813AA04
compare VAR_TEMP_1, VAR_0x8008
goto_if 4, BattleFrontier_Lounge7_EventScript_265696
msgbox BattleFrontier_Lounge7_Text_265997, 4
goto BattleFrontier_Lounge7_EventScript_2656CA
@@ -276,7 +276,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
end
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
compare VAR_0x400E, 0
compare VAR_TEMP_E, 0
goto_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F
end