mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-29 22:10:00 -04:00
68 lines
1.7 KiB
PHP
68 lines
1.7 KiB
PHP
SootopolisCity_Mart_MapScripts::
|
|
.byte 0
|
|
|
|
SootopolisCity_Mart_EventScript_Clerk::
|
|
lock
|
|
faceplayer
|
|
message gText_HowMayIServeYou
|
|
waitmessage
|
|
pokemart SootopolisCity_Mart_Pokemart
|
|
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
.align 2
|
|
SootopolisCity_Mart_Pokemart:
|
|
.2byte ITEM_ULTRA_BALL
|
|
.2byte ITEM_HYPER_POTION
|
|
.2byte ITEM_MAX_POTION
|
|
.2byte ITEM_FULL_HEAL
|
|
.2byte ITEM_REVIVE
|
|
.2byte ITEM_MAX_REPEL
|
|
.2byte ITEM_X_ATTACK
|
|
.2byte ITEM_X_DEFEND
|
|
.2byte ITEM_SHADOW_MAIL
|
|
pokemartlistend
|
|
|
|
SootopolisCity_Mart_EventScript_FatMan::
|
|
lock
|
|
faceplayer
|
|
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
|
msgbox SootopolisCity_Mart_Text_TooScaryOutside, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_Mart_EventScript_FatManNoLegendaries::
|
|
msgbox SootopolisCity_Mart_Text_PPUpIsGreat, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_Mart_EventScript_Gentleman::
|
|
lock
|
|
faceplayer
|
|
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
|
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
|
msgbox SootopolisCity_Mart_Text_DidSomethingAwaken, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_Mart_EventScript_GentlemanNoLegendaries::
|
|
msgbox SootopolisCity_Mart_Text_FullRestoreItemOfDreams, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/SootopolisCity_Mart/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/SootopolisCity_Mart/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/SootopolisCity_Mart/text_es.inc"
|
|
.else
|
|
.include "data/maps/SootopolisCity_Mart/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|