mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
51 lines
1.6 KiB
PHP
51 lines
1.6 KiB
PHP
BattleFrontier_BattlePikeRandomRoom3_MapScripts:: @ 825E41A
|
|
map_script 5, BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A
|
|
map_script 2, BattleFrontier_BattlePikeRandomRoom3_MapScript2_25E42A
|
|
map_script 4, BattleFrontier_BattlePikeRandomRoom3_MapScript2_25E466
|
|
.byte 0
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_MapScript2_25E42A: @ 825E42A
|
|
map_script_2 VAR_0x4000, 0, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E43C
|
|
map_script_2 VAR_0x4001, 1, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E44A
|
|
.2byte 0
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E43C:: @ 825E43C
|
|
setvar VAR_0x4000, 1
|
|
setvar VAR_0x8004, 6
|
|
special sub_81A703C
|
|
end
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E44A:: @ 825E44A
|
|
setvar VAR_0x8004, 2
|
|
setvar VAR_0x8005, 0
|
|
setvar VAR_0x8006, 4
|
|
special sub_81A1780
|
|
warp BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
|
|
waitstate
|
|
end
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_MapScript2_25E466: @ 825E466
|
|
map_script_2 VAR_0x4004, 0, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E470
|
|
.2byte 0
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E470:: @ 825E470
|
|
setvar VAR_0x4004, 1
|
|
turnobject 255, 2
|
|
end
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
|
|
call BattleFrontier_BattlePikeRandomRoom3_EventScript_2C4271
|
|
setvar VAR_0x8004, 1
|
|
setvar VAR_0x8005, 5
|
|
special sub_81A1780
|
|
compare VAR_RESULT, 2
|
|
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
|
|
compare VAR_RESULT, 3
|
|
goto_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
|
|
end
|
|
|
|
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3:: @ 825E4A3
|
|
setvar VAR_0x4001, 1
|
|
end
|
|
|