mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-04-26 02:14:22 -05:00
Refactor exchange service corner (#8840)
This commit is contained in:
parent
78ccd6bb28
commit
e587cff9dd
|
|
@ -1,6 +1,11 @@
|
|||
BattleFrontier_ExchangeServiceCorner_MapScripts::
|
||||
.byte 0
|
||||
|
||||
.macro setitemandprice item:req, price:req
|
||||
setvar VAR_0x8009, \item
|
||||
setvar VAR_0x8008, \price
|
||||
.endm
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize, MSGBOX_DEFAULT
|
||||
special ShowBattlePointsWindow
|
||||
|
|
@ -95,85 +100,52 @@ BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1::
|
|||
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster, MSGBOX_YESNO
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1::
|
||||
bufferdecorationname STR_VAR_1, VAR_0x8009
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmPurchase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 16
|
||||
setvar VAR_0x8009, DECOR_KISS_POSTER
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster::
|
||||
setitemandprice DECOR_KISS_POSTER, 16
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_KissCushion::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 32
|
||||
setvar VAR_0x8009, DECOR_KISS_CUSHION
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_KISS_CUSHION, 32
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_SmoochumDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 32
|
||||
setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_SMOOCHUM_DOLL, 32
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_TogepiDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, DECOR_TOGEPI_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_TOGEPI_DOLL, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_MeowthDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, DECOR_MEOWTH_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_MEOWTH_DOLL, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_ClefairyDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_CLEFAIRY_DOLL, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_DittoDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, DECOR_DITTO_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_DITTO_DOLL, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_CyndaquilDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 80
|
||||
setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_CYNDAQUIL_DOLL, 80
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_ChikoritaDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 80
|
||||
setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_CHIKORITA_DOLL, 80
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_TotodileDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
|
||||
setvar VAR_0x8008, 80
|
||||
setvar VAR_0x8009, DECOR_TOTODILE_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_TOTODILE_DOLL, 80
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor1
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2::
|
||||
lock
|
||||
|
|
@ -199,45 +171,32 @@ BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2::
|
|||
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll, MSGBOX_YESNO
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2::
|
||||
bufferdecorationname STR_VAR_1, VAR_0x8009
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmPurchase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
|
||||
setvar VAR_0x8008, 128
|
||||
setvar VAR_0x8009, DECOR_LAPRAS_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll::
|
||||
setitemandprice DECOR_LAPRAS_DOLL, 128
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_SnorlaxDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
|
||||
setvar VAR_0x8008, 128
|
||||
setvar VAR_0x8009, DECOR_SNORLAX_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_SNORLAX_DOLL, 128
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_VenusaurDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
|
||||
setvar VAR_0x8008, 256
|
||||
setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_VENUSAUR_DOLL, 256
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_CharizardDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
|
||||
setvar VAR_0x8008, 256
|
||||
setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_CHARIZARD_DOLL, 256
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_BlastoiseDoll::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
|
||||
setvar VAR_0x8008, 256
|
||||
setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice DECOR_BLASTOISE_DOLL, 256
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseDecor2
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk::
|
||||
lock
|
||||
|
|
@ -264,53 +223,37 @@ BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin::
|
|||
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Protein::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein, MSGBOX_YESNO
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin::
|
||||
bufferitemname STR_VAR_1, VAR_0x8009
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmPurchase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_PROTEIN
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Protein::
|
||||
setitemandprice ITEM_PROTEIN, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Calcium::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_CALCIUM
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_CALCIUM, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Iron::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_IRON
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_IRON, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Zinc::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_ZINC
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_ZINC, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Carbos::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_CARBOS
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_CARBOS, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_HPUp::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
|
||||
setvar VAR_0x8008, 1
|
||||
setvar VAR_0x8009, ITEM_HP_UP
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_HP_UP, 1
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseVitamin
|
||||
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk::
|
||||
lock
|
||||
|
|
@ -340,77 +283,48 @@ BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem::
|
|||
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers, MSGBOX_YESNO
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem::
|
||||
bufferitemname STR_VAR_1, VAR_0x8009
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmPurchase, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, ITEM_LEFTOVERS
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers::
|
||||
setitemandprice ITEM_LEFTOVERS, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_WhiteHerb::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, ITEM_WHITE_HERB
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_WHITE_HERB, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_QuickClaw::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, ITEM_QUICK_CLAW
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_QUICK_CLAW, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_MentalHerb::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 48
|
||||
setvar VAR_0x8009, ITEM_MENTAL_HERB
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_MENTAL_HERB, 48
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Brightpowder::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 64
|
||||
setvar VAR_0x8009, ITEM_BRIGHT_POWDER
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_BRIGHT_POWDER, 64
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_ChoiceBand::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 64
|
||||
setvar VAR_0x8009, ITEM_CHOICE_BAND
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_CHOICE_BAND, 64
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_KingsRock::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 64
|
||||
setvar VAR_0x8009, ITEM_KINGS_ROCK
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_KINGS_ROCK, 64
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_FocusBand::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 64
|
||||
setvar VAR_0x8009, ITEM_FOCUS_BAND
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_FOCUS_BAND, 64
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_ScopeLens::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
|
||||
setvar VAR_0x8008, 64
|
||||
setvar VAR_0x8009, ITEM_SCOPE_LENS
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
|
||||
end
|
||||
setitemandprice ITEM_SCOPE_LENS, 64
|
||||
goto BattleFrontier_ExchangeServiceCorner_EventScript_PurchaseHoldItem
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_EventScript_Man::
|
||||
msgbox BattleFrontier_ExchangeServiceCorner_Text_GoGetYourOwnDoll, MSGBOX_NPC
|
||||
|
|
@ -445,124 +359,8 @@ BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize:
|
|||
BattleFrontier_ExchangeServiceCorner_Text_PleaseChoosePrize:
|
||||
.string "Please choose a prize from this list.$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster:
|
||||
.string "You've chosen the KISS POSTER.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion:
|
||||
.string "You've chosen the KISS CUSHION.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll:
|
||||
.string "You've chosen the SMOOCHUM DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll:
|
||||
.string "You've chosen the TOGEPI DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll:
|
||||
.string "You've chosen the MEOWTH DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll:
|
||||
.string "You've chosen the CLEFAIRY DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll:
|
||||
.string "You've chosen the DITTO DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll:
|
||||
.string "You've chosen the CYNDAQUIL DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll:
|
||||
.string "You've chosen the CHIKORITA DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll:
|
||||
.string "You've chosen the TOTODILE DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll:
|
||||
.string "You've chosen the LAPRAS DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll:
|
||||
.string "You've chosen the SNORLAX DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll:
|
||||
.string "You've chosen the VENUSAUR DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll:
|
||||
.string "You've chosen the CHARIZARD DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll:
|
||||
.string "You've chosen the BLASTOISE DOLL.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein:
|
||||
.string "You've chosen the PROTEIN.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium:
|
||||
.string "You've chosen the CALCIUM.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron:
|
||||
.string "You've chosen the IRON.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc:
|
||||
.string "You've chosen the ZINC.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos:
|
||||
.string "You've chosen the CARBOS.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp:
|
||||
.string "You've chosen the HP UP.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder:
|
||||
.string "You've chosen the BRIGHTPOWDER.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb:
|
||||
.string "You've chosen the WHITE HERB.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw:
|
||||
.string "You've chosen the QUICK CLAW.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb:
|
||||
.string "You've chosen the MENTAL HERB.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand:
|
||||
.string "You've chosen the CHOICE BAND.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock:
|
||||
.string "You've chosen the KING'S ROCK.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand:
|
||||
.string "You've chosen the FOCUS BAND.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens:
|
||||
.string "You've chosen the SCOPE LENS.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers:
|
||||
.string "You've chosen the LEFTOVERS.\n"
|
||||
BattleFrontier_ExchangeServiceCorner_Text_ConfirmPurchase:
|
||||
.string "You've chosen the {STR_VAR_1}.\n"
|
||||
.string "Is that correct?$"
|
||||
|
||||
BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user