Document Frontier Util
This commit is contained in:
@@ -49,7 +49,7 @@ SlateportCity_BattleTentBattleRoom_EventScript_2099BE:: @ 82099BE
|
||||
applymovement 2, SlateportCity_BattleTentBattleRoom_Movement_209A9E
|
||||
waitmovement 0
|
||||
setvar VAR_0x8004, 4
|
||||
special sub_81B99B4
|
||||
special CallVerdanturfTentFunction
|
||||
lockall
|
||||
msgbox gStringVar4, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
@@ -63,15 +63,15 @@ SlateportCity_BattleTentBattleRoom_EventScript_2099BE:: @ 82099BE
|
||||
case 1, SlateportCity_BattleTentBattleRoom_EventScript_209A39
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_209A1B:: @ 8209A1B
|
||||
frontier_setchallengestatus CHALLENGE_STATUS_LOST
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
special LoadPlayerParty
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209A39:: @ 8209A39
|
||||
frontier_getbattlenum
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_setbattlenum VAR_RESULT
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 3, SlateportCity_BattleTentBattleRoom_EventScript_209A7B
|
||||
@ case 3, SlateportCity_BattleTentCorridor_EventScript_209A7B
|
||||
@@ -81,7 +81,7 @@ SlateportCity_BattleTentBattleRoom_EventScript_209A39:: @ 8209A39
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209A7B:: @ 8209A7B
|
||||
SlateportCity_BattleTentCorridor_EventScript_209A7B:: @ 8209A7B
|
||||
frontier_setchallengestatus CHALLENGE_STATUS_WON
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
special LoadPlayerParty
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
Reference in New Issue
Block a user