2022-05-19 19:14:13 +02:00
|
|
|
MauvilleCity_House2_MapScripts::
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
MauvilleCity_House2_EventScript_Woman::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RECEIVED_COIN_CASE, MauvilleCity_House2_EventScript_ReceivedCoinCase
|
|
|
|
msgbox MauvilleCity_House2_Text_BuyHarborMailAtSlateport, MSGBOX_DEFAULT
|
|
|
|
checkitem ITEM_HARBOR_MAIL
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, MauvilleCity_House2_EventScript_AskToTradeForHarborMail
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_House2_EventScript_AskToTradeForHarborMail::
|
|
|
|
playse SE_PIN
|
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_ExclamationMark
|
|
|
|
waitmovement 0
|
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_Delay48
|
|
|
|
waitmovement 0
|
|
|
|
msgbox MauvilleCity_House2_Text_TradeHarborMailForCoinCase, MSGBOX_YESNO
|
|
|
|
goto_if_eq VAR_RESULT, YES, MauvilleCity_House2_EventScript_AcceptTrade
|
|
|
|
goto_if_eq VAR_RESULT, NO, MauvilleCity_House2_EventScript_DeclineTrade
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_House2_EventScript_AcceptTrade::
|
|
|
|
msgbox MauvilleCity_House2_Text_IllTradeYouCoinCase, MSGBOX_DEFAULT
|
|
|
|
removeitem ITEM_HARBOR_MAIL
|
|
|
|
giveitem ITEM_COIN_CASE
|
|
|
|
setflag FLAG_RECEIVED_COIN_CASE
|
|
|
|
goto MauvilleCity_House2_EventScript_ReceivedCoinCase
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_House2_EventScript_ReceivedCoinCase::
|
|
|
|
msgbox MauvilleCity_House2_Text_UseCoinCaseAtGameCorner, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_House2_EventScript_DeclineTrade::
|
|
|
|
msgbox MauvilleCity_House2_Text_ThatsDisappointing, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
MauvilleCity_House2_Text_BuyHarborMailAtSlateport:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "If I had a Bike, it'd be easy to cycle to\n"
|
|
|
|
.string "Slateport for some shopping.\p"
|
|
|
|
.string "I'd be able to buy Harbor Mail at the\n"
|
|
|
|
.string "Pokémon Mart in Slateport…$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_House2_Text_TradeHarborMailForCoinCase:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Oh! You have Harbor Mail?\n"
|
|
|
|
.string "Will you trade it for a Coin Case?$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_House2_Text_IllTradeYouCoinCase:
|
|
|
|
.string "Oh, I'm so happy!\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Okay, I'll trade you a Coin Case!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_House2_Text_UseCoinCaseAtGameCorner:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "That Coin Case can be used\n"
|
|
|
|
.string "at the Game Corner.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
MauvilleCity_House2_Text_ThatsDisappointing:
|
|
|
|
.string "Oh, that's disappointing.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "A Coin Case is needed for the\n"
|
|
|
|
.string "Game Corner.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|