pokeemerald/data/maps/BattleFrontier_BattlePikeRandomRoom3/scripts.inc

51 lines
1.7 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
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
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E43C
map_script_2 VAR_TEMP_1, 1, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E44A
2017-11-10 02:21:31 +01:00
.2byte 0
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E43C:: @ 825E43C
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_0, 1
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 6
2018-11-12 14:35:56 +01:00
special CallBattlePikeFunction
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E44A:: @ 825E44A
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
2017-11-10 02:21:31 +01:00
waitstate
end
BattleFrontier_BattlePikeRandomRoom3_MapScript2_25E466: @ 825E466
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRandomRoom3_EventScript_25E470
2017-11-10 02:21:31 +01:00
.2byte 0
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E470:: @ 825E470
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_4, 1
turnobject EVENT_OBJ_ID_PLAYER, 2
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
call BattleFrontier_BattlePikeRandomRoom3_EventScript_2C4271
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
2018-11-01 21:31:10 +01:00
special CallFrontierUtilFunc
compare VAR_RESULT, 2
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
compare VAR_RESULT, 3
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3
2017-11-10 02:21:31 +01:00
end
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E4A3:: @ 825E4A3
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2017-11-10 02:21:31 +01:00
end