BattleFrontier_BattleDomeBattleRoom_MapScripts:: @ 824BC9C map_script 3, BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1 map_script 2, BattleFrontier_BattleDomeBattleRoom_MapScript2_24BD00 map_script 4, BattleFrontier_BattleDomeBattleRoom_MapScript2_24C481 map_script 5, BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0 .byte 0 BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1 setvar VAR_0x8004, 10 special sub_818E9AC setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 special sub_81A1780 copyvar VAR_0x400F, VAR_RESULT compare_var_to_value VAR_RESULT, 0 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C919 call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC end BattleFrontier_BattleArenaBattleRoom_EventScript_24BCDC:: @ 824BCDC BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC:: @ 824BCDC checkplayergender compare_var_to_value VAR_RESULT, 0 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4 compare_var_to_value VAR_RESULT, 1 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA return BattleFrontier_BattleDomeBattleRoom_EventScript_24BCF4:: @ 824BCF4 setvar VAR_0x4011, 100 return BattleFrontier_BattleDomeBattleRoom_EventScript_24BCFA:: @ 824BCFA setvar VAR_0x4011, 105 return BattleFrontier_BattleDomeBattleRoom_MapScript2_24BD00: @ 824BD00 map_script_2 VAR_0x4000, 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A .2byte 0 BattleFrontier_BattleDomeBattleRoom_EventScript_24BD0A:: @ 824BD0A lockall call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD compare_var_to_value VAR_RESULT, 0 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C938 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 waitmovement 0 call BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C970, 4 closemessage showobjectat 13, BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM compare_var_to_value VAR_0x400F, 3 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E compare_var_to_value VAR_0x400E, 0 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A BattleFrontier_BattleDomeBattleRoom_EventScript_24BD4E:: @ 824BD4E applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C775 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61 BattleFrontier_BattleDomeBattleRoom_EventScript_24BD5A:: @ 824BD5A applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77F BattleFrontier_BattleDomeBattleRoom_EventScript_24BD61:: @ 824BD61 playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitmovement 0 compare_var_to_value VAR_0x400F, 3 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82 compare_var_to_value VAR_0x400E, 0 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82 setvar VAR_0x8004, 4 special sub_818E9AC msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C990, 4 closemessage applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77B applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C789 waitmovement 0 setvar VAR_0x8004, 7 setvar VAR_0x8005, 0 special sub_8161F74 msgbox 0x2021fc4, 4 closemessage setvar VAR_0x8004, 5 special sub_818E9AC call BattleFrontier_BattleDomeBattleRoom_EventScript_24C440 setvar VAR_0x4002, 0 switch VAR_RESULT case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F case 9, BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F setvar VAR_0x4002, 1 BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7:: @ 824BDF7 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CA86, 4 closemessage playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E delay 60 applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C964 waitmovement 0 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_24C969 waitmovement 0 delay 180 applymovement 9, BattleFrontier_BattleDomeBattleRoom_Movement_24C96B waitmovement 0 compare_var_to_value VAR_0x4002, 2 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F setvar VAR_0x8004, 19 special sub_818E9AC switch VAR_RESULT case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0 BattleFrontier_BattleDomeBattleRoom_EventScript_24BE4F:: @ 824BE4F applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 waitmovement 0 setvar VAR_0x8004, 4 special sub_818E9AC compare_var_to_value VAR_0x4002, 0 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1 compare_var_to_value VAR_0x4002, 1 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5 compare_var_to_value VAR_0x4002, 2 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9 playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E delay 60 BattleFrontier_BattleDomeBattleRoom_EventScript_24BE8D:: @ 824BE8D setvar VAR_0x8004, 12 setvar VAR_0x8005, 2 special sub_818E9AC BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A:: @ 824BE9A setvar VAR_0x8004, 2 setvar VAR_0x8005, 0 setvar VAR_0x8006, 4 special sub_81A1780 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5 @ goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5 BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1:: @ 824BEB1 setvar VAR_0x8004, 20 setvar VAR_0x8005, 1 special sub_81A1780 message BattleFrontier_BattleDomeBattleRoom_Text_24C9E1 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5:: @ 824BEC5 setvar VAR_0x8004, 20 setvar VAR_0x8005, 0 special sub_81A1780 message BattleFrontier_BattleDomeBattleRoom_Text_24CB34 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24BED9:: @ 824BED9 message BattleFrontier_BattleDomeBattleRoom_Text_24D6BE waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0 applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_2725B4 waitmovement 0 compare_var_to_value VAR_0x4002, 0 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3 compare_var_to_value VAR_0x4002, 1 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E delay 60 setvar VAR_0x8004, 3 special sub_818E9AC setvar VAR_0x8004, 12 setvar VAR_0x8005, 1 special sub_818E9AC setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 special sub_81A1780 addvar VAR_RESULT, 1 setvar VAR_0x8004, 2 setvar VAR_0x8005, 2 copyvar VAR_0x8006, VAR_RESULT special sub_81A1780 switch VAR_RESULT case 4, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 setvar VAR_0x8006, 1 warp BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM, 255, 5, 3 waitstate BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62:: @ 824BF62 applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77D waitmovement 0 setvar VAR_0x8004, 1 setvar VAR_0x8005, 1 special sub_81A1780 switch VAR_RESULT case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF96 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CA04, 4 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BF9E BattleFrontier_BattleDomeBattleRoom_EventScript_24BF96:: @ 824BF96 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CA44, 4 BattleFrontier_BattleDomeBattleRoom_EventScript_24BF9E:: @ 824BF9E special sub_8175280 playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E delay 60 setvar VAR_0x8004, 2 setvar VAR_0x8005, 0 setvar VAR_0x8006, 3 special sub_81A1780 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C8F5 BattleFrontier_BattleDomeBattleRoom_EventScript_24BFC3:: @ 824BFC3 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24C9BE, 4 return BattleFrontier_BattleDomeBattleRoom_EventScript_24BFCC:: @ 824BFCC msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CB9D, 4 return BattleFrontier_BattleDomeBattleRoom_EventScript_24BFD5:: @ 824BFD5 setvar VAR_0x8004, 1 setvar VAR_0x8005, 6 special sub_818E9AC compare_var_to_value VAR_RESULT, 0 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C023 setvar VAR_0x8004, 1 setvar VAR_0x8005, 7 special sub_818E9AC compare_var_to_value VAR_RESULT, 0 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C076 setvar VAR_0x8004, 1 setvar VAR_0x8005, 1 special sub_818E9AC compare_var_to_value VAR_RESULT, 0 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C023:: @ 824C023 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD switch VAR_RESULT case 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24C05A case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C061 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C068 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C06F return BattleFrontier_BattleDomeBattleRoom_EventScript_24C05A:: @ 824C05A message BattleFrontier_BattleDomeBattleRoom_Text_24CC06 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C061:: @ 824C061 message BattleFrontier_BattleDomeBattleRoom_Text_24CC1C waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C068:: @ 824C068 message BattleFrontier_BattleDomeBattleRoom_Text_24CC2E waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C06F:: @ 824C06F message BattleFrontier_BattleDomeBattleRoom_Text_24CC5B waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C076:: @ 824C076 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD switch VAR_RESULT case 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24C0AD case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C0B4 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C0BB case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C0AD:: @ 824C0AD message BattleFrontier_BattleDomeBattleRoom_Text_24CC99 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C0B4:: @ 824C0B4 message BattleFrontier_BattleDomeBattleRoom_Text_24CCC5 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C0BB:: @ 824C0BB message BattleFrontier_BattleDomeBattleRoom_Text_24CCFD waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C2:: @ 824C0C2 message BattleFrontier_BattleDomeBattleRoom_Text_24CD33 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C0C9:: @ 824C0C9 compare_var_to_value VAR_0x400F, 3 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C105 switch VAR_0x400E case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C161 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C158 case 4, BattleFrontier_BattleDomeBattleRoom_EventScript_24C161 BattleFrontier_BattleDomeBattleRoom_EventScript_24C105:: @ 824C105 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD switch VAR_RESULT case 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24C13C case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C143 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C14A case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C151 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C13C:: @ 824C13C message BattleFrontier_BattleDomeBattleRoom_Text_24CD72 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C143:: @ 824C143 message BattleFrontier_BattleDomeBattleRoom_Text_24CD8C waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C14A:: @ 824C14A message BattleFrontier_BattleDomeBattleRoom_Text_24CDB3 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C151:: @ 824C151 message BattleFrontier_BattleDomeBattleRoom_Text_24CDDE waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C158:: @ 824C158 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CEBE, 4 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C161:: @ 824C161 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D232, 4 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C16A:: @ 824C16A call BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD switch VAR_RESULT case 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1A1 case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1A8 case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1AF case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1B6 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1A1:: @ 824C1A1 message BattleFrontier_BattleDomeBattleRoom_Text_24CE10 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1A8:: @ 824C1A8 message BattleFrontier_BattleDomeBattleRoom_Text_24CE33 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1AF:: @ 824C1AF message BattleFrontier_BattleDomeBattleRoom_Text_24CE57 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1B6:: @ 824C1B6 message BattleFrontier_BattleDomeBattleRoom_Text_24CE94 waitmessage return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD:: @ 824C1BD setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 special sub_81A1780 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C1CB:: @ 824C1CB switch VAR_0x400E case 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1FC case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C209 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C1FC case 4, BattleFrontier_BattleDomeBattleRoom_EventScript_24C209 BattleFrontier_BattleDomeBattleRoom_EventScript_24C1FC:: @ 824C1FC msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CEDE, 4 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24C211 BattleFrontier_BattleDomeBattleRoom_EventScript_24C209:: @ 824C209 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D26C, 4 BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211 closemessage applymovement 2, BattleFrontier_BattleDomeBattleRoom_Movement_24C94B applymovement 1, BattleFrontier_BattleDomeBattleRoom_Movement_24C7F9 applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C78E playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse waitmovement 0 message BattleFrontier_BattleDomeBattleRoom_Text_24CF7A waitmessage playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse switch VAR_0x400E case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C346 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9 case 4, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373 setvar VAR_0x8004, 1 setvar VAR_0x8005, 7 special sub_81A1780 compare_var_to_value VAR_RESULT, 0 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, 4 setvar VAR_0x8004, 2 setvar VAR_0x8005, 7 special sub_81A1780 BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D0D9, 4 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C400 switch VAR_RESULT case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C420 case 9, BattleFrontier_BattleDomeBattleRoom_EventScript_24C420 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C436 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D0F6, 4 setvar VAR_0x8004, 12 setvar VAR_0x8005, 1 special sub_818E9AC setvar VAR_0x8004, 12 special sub_81A1780 compare_var_to_value VAR_RESULT, 0 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 closemessage applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B waitmovement 0 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D172, 4 playfanfare BGM_ME_BATTLE_SYMBOL message BattleFrontier_BattleDomeBattleRoom_Text_24D1AA waitmessage waitfanfare setvar VAR_0x8004, 13 special sub_81A1780 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D1E0, 4 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346 setvar VAR_0x8004, 1 setvar VAR_0x8005, 7 special sub_81A1780 compare_var_to_value VAR_RESULT, 0 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, 4 setvar VAR_0x8004, 2 setvar VAR_0x8005, 7 special sub_81A1780 BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D43E, 4 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C400 switch VAR_RESULT case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C420 case 9, BattleFrontier_BattleDomeBattleRoom_EventScript_24C420 case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C436 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D0F6, 4 setvar VAR_0x8004, 12 setvar VAR_0x8005, 1 special sub_818E9AC setvar VAR_0x8004, 12 special sub_81A1780 compare_var_to_value VAR_RESULT, 2 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 closemessage applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C82B waitmovement 0 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D47F, 4 playfanfare BGM_ME_BATTLE_SYMBOL message BattleFrontier_BattleDomeBattleRoom_Text_24D522 waitmessage waitfanfare setvar VAR_0x8004, 13 special sub_81A1780 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D54D, 4 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62 BattleFrontier_BattleDomeBattleRoom_EventScript_24C400:: @ 824C400 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D677, 4 closemessage applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C787 applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C829 waitmovement 0 call BattleFrontier_BattleDomeBattleRoom_EventScript_24C440 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C420:: @ 824C420 msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D127, 4 playse SE_W227B call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E waitse goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BE8D BattleFrontier_BattleDomeBattleRoom_EventScript_24C436:: @ 824C436 setvar VAR_0x4002, 2 goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7 BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440 setvar VAR_0x8004, 2 setvar VAR_0x8005, 6 setvar VAR_0x8006, 0 special sub_81A1780 special sp000_heal_pokemon setvar VAR_0x8004, 3 setvar VAR_0x8005, 0 setvar VAR_0x4009, 1 special sub_8163AC4 waitstate setvar VAR_0x4009, 0 setvar VAR_0x8004, 17 special sub_818E9AC special sp000_heal_pokemon setvar VAR_0x8004, 16 special sub_818E9AC return BattleFrontier_BattleDomeBattleRoom_MapScript2_24C481: @ 824C481 map_script_2 VAR_0x4001, 0, BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B .2byte 0 BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B hideobjectat 13, BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM call BattleFrontier_BattleDomeBattleRoom_EventScript_24C502 call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC setvar VAR_0x4001, 1 applymovement 255, BattleFrontier_BattleDomeBattleRoom_Movement_24C773 setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 special sub_81A1780 compare_var_to_value VAR_RESULT, 3 goto_if 5, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF setvar VAR_0x8004, 9 special sub_81A1780 copyvar VAR_0x400E, VAR_RESULT compare_var_to_value VAR_RESULT, 0 goto_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF call BattleFrontier_BattleDomeBattleRoom_EventScript_242170 setobjectxyperm 15, 13, 9 removeobject 15 addobject 15 applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C78B BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF:: @ 824C4EF end BattleFrontier_BattleDomeBattleRoom_MapScript1_24C4F0: @ 824C4F0 compare_var_to_value VAR_0x4009, 1 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC end BattleFrontier_BattleDomeBattleRoom_EventScript_24C4FC:: @ 824C4FC call BattleFrontier_BattleDomeBattleRoom_EventScript_24C502 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C502:: @ 824C502 compare_var_to_value VAR_0x400F, 0 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F compare_var_to_value VAR_0x400F, 1 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C530 compare_var_to_value VAR_0x400F, 2 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C594 compare_var_to_value VAR_0x400F, 3 call_if 1, BattleFrontier_BattleDomeBattleRoom_EventScript_24C652 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C52F:: @ 824C52F return BattleFrontier_BattleDomeBattleRoom_EventScript_24C530:: @ 824C530 createvobject 46, 1, 3, 0, 3, 1 createvobject 22, 4, 6, 0, 3, 1 createvobject 5, 6, 8, 0, 3, 1 createvobject 12, 9, 11, 0, 3, 1 createvobject 46, 11, 13, 0, 3, 1 createvobject 66, 13, 15, 0, 3, 1 createvobject 45, 19, 7, 1, 3, 1 createvobject 34, 22, 11, 1, 3, 1 createvobject 11, 25, 15, 1, 3, 1 createvobject 35, 26, 2, 2, 3, 1 createvobject 38, 29, 5, 1, 3, 1 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C594:: @ 824C594 createvobject 46, 1, 3, 0, 3, 1 createvobject 22, 4, 6, 0, 3, 1 createvobject 5, 6, 8, 0, 3, 1 createvobject 20, 7, 9, 0, 3, 1 createvobject 12, 9, 11, 0, 3, 1 createvobject 47, 10, 12, 0, 3, 1 createvobject 46, 11, 13, 0, 3, 1 createvobject 66, 13, 15, 0, 3, 1 createvobject 48, 15, 2, 1, 3, 1 createvobject 5, 16, 3, 1, 3, 1 createvobject 20, 17, 4, 1, 3, 1 createvobject 45, 19, 7, 1, 3, 1 createvobject 22, 20, 9, 1, 3, 1 createvobject 34, 22, 11, 1, 3, 1 createvobject 46, 23, 13, 1, 3, 1 createvobject 11, 25, 15, 1, 3, 1 createvobject 35, 26, 2, 2, 3, 1 createvobject 40, 28, 5, 2, 3, 1 createvobject 38, 29, 5, 1, 3, 1 createvobject 83, 30, 6, 2, 3, 1 createvobject 34, 31, 8, 2, 3, 1 return BattleFrontier_BattleDomeBattleRoom_EventScript_24C652:: @ 824C652 createvobject 5, 0, 2, 0, 3, 1 createvobject 46, 1, 3, 0, 3, 1 createvobject 45, 2, 15, 0, 3, 1 createvobject 66, 3, 5, 0, 3, 1 createvobject 22, 4, 6, 0, 3, 1 createvobject 46, 5, 7, 0, 3, 1 createvobject 5, 6, 8, 0, 3, 1 createvobject 20, 7, 9, 0, 3, 1 createvobject 24, 8, 10, 0, 3, 1 createvobject 12, 9, 11, 0, 3, 1 createvobject 47, 10, 12, 0, 3, 1 createvobject 46, 11, 13, 0, 3, 1 createvobject 45, 12, 14, 0, 3, 1 createvobject 66, 13, 15, 2, 3, 1 createvobject 55, 14, 12, 2, 3, 1 createvobject 48, 15, 2, 1, 3, 1 createvobject 5, 16, 3, 1, 3, 1 createvobject 20, 17, 4, 1, 3, 1 createvobject 24, 18, 6, 1, 3, 1 createvobject 45, 19, 7, 1, 3, 1 createvobject 22, 20, 9, 1, 3, 1 createvobject 23, 21, 10, 1, 3, 1 createvobject 34, 22, 11, 1, 3, 1 createvobject 46, 23, 13, 1, 3, 1 createvobject 48, 24, 14, 1, 3, 1 createvobject 11, 25, 15, 1, 3, 1 createvobject 35, 26, 2, 2, 3, 1 createvobject 17, 27, 3, 2, 3, 1 createvobject 40, 28, 5, 2, 3, 1 createvobject 38, 29, 5, 1, 3, 1 createvobject 83, 30, 6, 2, 3, 1 createvobject 34, 31, 8, 2, 3, 1 return