mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-25 03:15:44 -05:00
128 lines
4.8 KiB
C++
128 lines
4.8 KiB
C++
BattleFrontier_Lounge2_MapScripts::
|
|
.byte 0
|
|
|
|
@ This NPC gives hints about a random facility or battle mode.
|
|
@ For battle modes he gives generic advice
|
|
@ For facilities, depending on how far the player has progressed he will say either
|
|
@ The name of the Frontier Brain there
|
|
@ The type and description of the 3 pokemon they use in their silver battle
|
|
@ The type and description of the 3 pokemon they use in their gold battle
|
|
BattleFrontier_Lounge2_EventScript_FrontierManiac::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_AlreadyMetManiac
|
|
setflag FLAG_MET_BATTLE_FRONTIER_MANIAC
|
|
msgbox BattleFrontier_Lounge2_Text_FrontierManiacIntro, MSGBOX_DEFAULT
|
|
goto BattleFrontier_Lounge2_EventScript_GiveAdvice
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_AlreadyMetManiac::
|
|
msgbox BattleFrontier_Lounge2_Text_SwingByForTheLatestWord, MSGBOX_DEFAULT
|
|
goto BattleFrontier_Lounge2_EventScript_GiveAdvice
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_GiveAdvice::
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_SINGLES, BattleFrontier_Lounge2_EventScript_BufferSingle
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_DOUBLES, BattleFrontier_Lounge2_EventScript_BufferDouble
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_MULTIS, BattleFrontier_Lounge2_EventScript_BufferMulti
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_LINK, BattleFrontier_Lounge2_EventScript_BufferMultiLink
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_DOME, BattleFrontier_Lounge2_EventScript_BufferBattleDome
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_FACTORY, BattleFrontier_Lounge2_EventScript_BufferBattleFactory
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PALACE, BattleFrontier_Lounge2_EventScript_BufferBattlePalace
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_ARENA, BattleFrontier_Lounge2_EventScript_BufferBattleArena
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PIKE, BattleFrontier_Lounge2_EventScript_BufferBattlePike
|
|
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PYRAMID, BattleFrontier_Lounge2_EventScript_BufferBattlePyramid
|
|
@ <= FRONTIER_MANIAC_TOWER_LINK is any Battle Tower mode
|
|
call_if_le VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_LINK, BattleFrontier_Lounge2_EventScript_BattleTowerNews
|
|
@ >= FRONTIER_MANIAC_DOME is any facility other than Battle Tower
|
|
call_if_ge VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_DOME, BattleFrontier_Lounge2_EventScript_FacilityNews
|
|
special ShowFrontierManiacMessage
|
|
waitmessage
|
|
waitbuttonpress
|
|
release
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_BattleTowerNews::
|
|
msgbox BattleFrontier_Lounge2_Text_BattleTowerIsHottest, MSGBOX_DEFAULT
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_FacilityNews::
|
|
msgbox BattleFrontier_Lounge2_Text_FacilityIsHottest, MSGBOX_DEFAULT
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferSingle::
|
|
bufferstdstring STR_VAR_1, STDSTRING_SINGLE
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferDouble::
|
|
bufferstdstring STR_VAR_1, STDSTRING_DOUBLE
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferMulti::
|
|
bufferstdstring STR_VAR_1, STDSTRING_MULTI
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferMultiLink::
|
|
bufferstdstring STR_VAR_1, STDSTRING_MULTI_LINK
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattleDome::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_DOME
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattleFactory::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_FACTORY
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattlePalace::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_PALACE
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattleArena::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_ARENA
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattlePike::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_PIKE
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_BufferBattlePyramid::
|
|
bufferstdstring STR_VAR_1, STDSTRING_BATTLE_PYRAMID
|
|
return
|
|
|
|
BattleFrontier_Lounge2_EventScript_Maniac1::
|
|
lock
|
|
msgbox BattleFrontier_Lounge2_Text_NewsGatheringPower, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_Maniac2::
|
|
lock
|
|
msgbox BattleFrontier_Lounge2_Text_AmazingPowersOfObservation, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_Maniac3::
|
|
lock
|
|
msgbox BattleFrontier_Lounge2_Text_AmazingPowerOfPersuasion, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
BattleFrontier_Lounge2_EventScript_TriathleteF::
|
|
msgbox BattleFrontier_Lounge2_Text_ThisPlaceIsScaringMe, MSGBOX_NPC
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/BattleFrontier_Lounge2/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/BattleFrontier_Lounge2/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/BattleFrontier_Lounge2/text_es.inc"
|
|
.else
|
|
.include "data/maps/BattleFrontier_Lounge2/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|