777 lines
28 KiB
PHP
777 lines
28 KiB
PHP
.set LOCALID_LILYCOVE_LADY, 4
|
||
.set LOCALID_LADYS_MON, 5
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_LilycoveLady::
|
||
special Script_GetLilycoveLadyId
|
||
switch VAR_RESULT
|
||
case LILYCOVE_LADY_QUIZ, LilycoveCity_PokemonCenter_1F_EventScript_QuizLady
|
||
case LILYCOVE_LADY_FAVOR, LilycoveCity_PokemonCenter_1F_EventScript_FavorLady
|
||
case LILYCOVE_LADY_CONTEST, LilycoveCity_PokemonCenter_1F_EventScript_ContestLady
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FavorLady::
|
||
lock
|
||
faceplayer
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheFavorLady, MSGBOX_DEFAULT
|
||
specialvar VAR_RESULT, GetFavorLadyState
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_READY, LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyReady
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_COMPLETED, LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyCompleted
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_PRIZE, LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyCompleted::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ThankYouForLastTime, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyReady::
|
||
special BufferFavorLadyRequest
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ObsessedWithThing, MSGBOX_DEFAULT
|
||
specialvar VAR_RESULT, HasAnotherPlayerGivenFavorLadyItem
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_RequestItem
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem::
|
||
special BufferFavorLadyItemName
|
||
special BufferFavorLadyPlayerName
|
||
specialvar VAR_RESULT, DidFavorLadyLikeItem
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveBadThing
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveGreatThing
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveBadThing::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeBadThing, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_RequestItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveGreatThing::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeGreatThing, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_RequestItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_RequestItem::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WillYouShareThing, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IsThatSoGoodbye, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WhatWillYouGiveMe, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem::
|
||
fadescreen FADE_TO_BLACK
|
||
setvar VAR_RESULT, 0
|
||
special Script_FavorLadyOpenBagMenu
|
||
waitstate
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChooseFavorItem
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChooseFavorItem::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_NotWillingToShare, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem::
|
||
specialvar VAR_RESULT, Script_DoesFavorLadyLikeItem
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_DidntLikeFavorItem
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_DidntLikeFavorItem::
|
||
special BufferFavorLadyRequest
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IllTryToCherishIt, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem::
|
||
specialvar VAR_RESULT, IsFavorLadyThresholdMet
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_LikedFavorItem
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_LovedFavorItem
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_LikedFavorItem::
|
||
special BufferFavorLadyRequest
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_LovedFavorItem::
|
||
special BufferFavorLadyRequest
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize::
|
||
setvar VAR_0x8004, 0
|
||
specialvar VAR_0x8004, FavorLadyGetPrize
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IllGiveYouThisInReturn, MSGBOX_DEFAULT
|
||
giveitem VAR_0x8004
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_NoRoomForFavorPrize
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_ReceivedFavorPrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_NoRoomForFavorPrize::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YouDontHaveSpaceForIt, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ReceivedFavorPrize::
|
||
special SetFavorLadyState_Complete
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_QuizLady::
|
||
lock
|
||
faceplayer
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheQuizLady, MSGBOX_DEFAULT
|
||
specialvar VAR_RESULT, GetQuizLadyState
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_READY, LilycoveCity_PokemonCenter_1F_EventScript_HasQuiz
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_COMPLETED, LilycoveCity_PokemonCenter_1F_EventScript_CheckMadeQuiz
|
||
goto_if_eq VAR_RESULT, LILYCOVE_LADY_STATE_PRIZE, LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_HasQuiz::
|
||
specialvar VAR_RESULT, GetQuizAuthor
|
||
goto_if_eq VAR_RESULT, QUIZ_AUTHOR_PLAYER, LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz
|
||
goto_if_eq VAR_RESULT, QUIZ_AUTHOR_OTHER_PLAYER, LilycoveCity_PokemonCenter_1F_EventScript_PlayerQuizReady
|
||
goto_if_eq VAR_RESULT, QUIZ_AUTHOR_LADY, LilycoveCity_PokemonCenter_1F_EventScript_LadyQuizReady
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_CheckMadeQuiz::
|
||
specialvar VAR_RESULT, IsQuizLadyWaitingForChallenger
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingToTakeYourQuiz, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_PlayerQuizReady::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_LadyQuizReady::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz::
|
||
setvar VAR_0x8004, 0
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_TakeQuizChallenge, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_DeclineQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_DeclineQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_HowBoringBye, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz::
|
||
special ClearQuizLadyPlayerAnswer
|
||
goto_if_eq VAR_0x8004, 0, LilycoveCity_PokemonCenter_1F_EventScript_ShowQuestion
|
||
goto_if_eq VAR_0x8004, EASY_CHAT_TYPE_QUIZ_ANSWER, LilycoveCity_PokemonCenter_1F_EventScript_GetAnswer
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState::
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ShowQuestion::
|
||
special QuizLadyShowQuizQuestion
|
||
waitstate
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GetAnswer::
|
||
special QuizLadyGetPlayerAnswer
|
||
waitstate
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YoureGoingToQuit, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_QuitTakingQuiz
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_QuitTakingQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_TakeTheQuizAnotherTime, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse::
|
||
special SetQuizLadyState_Complete
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WaitForAnswer, MSGBOX_DEFAULT
|
||
specialvar VAR_RESULT, IsQuizAnswerCorrect
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_IncorrectResponse
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse::
|
||
playse SE_SUCCESS
|
||
delay 10
|
||
playse SE_SUCCESS
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YouGotItRight, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_IncorrectResponse::
|
||
special BufferQuizCorrectAnswer
|
||
special BufferQuizPrizeName
|
||
playse SE_FAILURE
|
||
delay 10
|
||
playse SE_FAILURE
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WrongTheCorrectAnswerIs, MSGBOX_DEFAULT
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IGetToKeepPrize, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz
|
||
end
|
||
|
||
@ VAR_RESULT is essentially ignored, both jumps are identical
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize::
|
||
specialvar VAR_RESULT, BufferQuizAuthorNameAndCheckIfLady
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_GivePrize1
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_GivePrize0
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GivePrize1::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_GivePrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GivePrize0::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_GivePrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GivePrize::
|
||
setvar VAR_0x8005, 0
|
||
special BufferQuizPrizeItem
|
||
special SetQuizLadyState_Complete
|
||
giveitem VAR_0x8005
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_NoSpaceForQuizPrize
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_NoSpaceForQuizPrize::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_YourBagIsFilledUp, MSGBOX_DEFAULT
|
||
special SetQuizLadyState_GivePrize
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_MakeYourOwnQuiz, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz::
|
||
special QuizLadyPickNewQuestion
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_MaybeNextTime, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_PickYourPrize, MSGBOX_DEFAULT
|
||
LilycoveCity_PokemonCenter_1F_EventScript_PickPrize::
|
||
fadescreen FADE_TO_BLACK
|
||
setvar VAR_RESULT, 0
|
||
special Script_QuizLadyOpenBagMenu
|
||
waitstate
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChoosingPrize
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChoosingPrize::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_QuitChoosingPrize, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_PickPrize
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WriteYourQuiz, MSGBOX_DEFAULT
|
||
special ClearQuizLadyQuestionAndAnswer
|
||
special ClearQuizLadyPlayerAnswer
|
||
setvar VAR_0x8004, EASY_CHAT_TYPE_QUIZ_QUESTION
|
||
LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion::
|
||
fadescreen FADE_TO_BLACK
|
||
special QuizLadySetCustomQuestion
|
||
waitstate
|
||
goto_if_eq VAR_RESULT, 0, LilycoveCity_PokemonCenter_1F_EventScript_AskQuitWritingQuizQuestion
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskQuitWritingQuizQuestion::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizQuestion, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz::
|
||
special QuizLadyTakePrizeForCustomQuiz
|
||
special QuizLadyRecordCustomQuizData
|
||
special QuizLadySetWaitingForChallenger
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IllLookForAChallenger, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ContestLady::
|
||
lock
|
||
faceplayer
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheContestLady, MSGBOX_DEFAULT
|
||
specialvar VAR_RESULT, HasPlayerGivenContestLadyPokeblock
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_NotGivenPokeblock
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock
|
||
end
|
||
|
||
@ Redundant with above script, VAR_RESULT will always be FALSE here
|
||
LilycoveCity_PokemonCenter_1F_EventScript_NotGivenPokeblock::
|
||
specialvar VAR_RESULT, ShouldContestLadyShowGoOnAir
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock
|
||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ThankForPokeblock, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock::
|
||
special Script_BufferContestLadyCategoryAndMonName
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_MyFriendDisplaysQuality, MSGBOX_DEFAULT
|
||
checkitem ITEM_POKEBLOCK_CASE
|
||
goto_if_eq VAR_RESULT, FALSE, LilycoveCity_PokemonCenter_1F_EventScript_NoPokeblockCase
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_AskingForOnePokeblock, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_WhatACheapskate, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock::
|
||
fadescreen FADE_TO_BLACK
|
||
special OpenPokeblockCaseForContestLady
|
||
waitstate
|
||
goto_if_eq VAR_RESULT, 0xFFFF, LilycoveCity_PokemonCenter_1F_EventScript_AskQuitGivingPokeblock
|
||
goto_if_ne VAR_RESULT, 0xFFFF, LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AskQuitGivingPokeblock::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ICantHaveOnePokeblock, MSGBOX_YESNO
|
||
goto_if_eq VAR_RESULT, YES, LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock
|
||
goto_if_eq VAR_RESULT, NO, LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_IllUseYourPokeblock, MSGBOX_DEFAULT
|
||
special SetContestLadyGivenPokeblock
|
||
special GetContestLadyMonSpecies
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_FeedPokeblock
|
||
end
|
||
|
||
@ VAR_0x8004 here is the return value from GivePokeblockToContestLady
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FeedPokeblock::
|
||
applymovement LOCALID_LILYCOVE_LADY, LilycoveCity_PokemonCenter_1F_Movement_LadyFaceMon
|
||
waitmovement 0
|
||
delay 60
|
||
applymovement LOCALID_LADYS_MON, LilycoveCity_PokemonCenter_1F_Movement_MonFaceLady
|
||
waitmovement 0
|
||
delay 60
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
delay 120
|
||
waitmoncry
|
||
goto_if_eq VAR_0x8004, 1, LilycoveCity_PokemonCenter_1F_EventScript_MonEnjoyPokeblock
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_FinishFeedPokeblock
|
||
end
|
||
|
||
@ VAR_0x8004 here is the return value from GivePokeblockToContestLady
|
||
LilycoveCity_PokemonCenter_1F_EventScript_MonEnjoyPokeblock::
|
||
applymovement LOCALID_LADYS_MON, LilycoveCity_PokemonCenter_1F_Movement_MonJump
|
||
waitmovement 0
|
||
delay 60
|
||
LilycoveCity_PokemonCenter_1F_EventScript_FinishFeedPokeblock::
|
||
applymovement LOCALID_LILYCOVE_LADY, LilycoveCity_PokemonCenter_1F_Movement_LadyFacePlayer
|
||
waitmovement 0
|
||
delay 60
|
||
goto_if_eq VAR_0x8004, 0, LilycoveCity_PokemonCenter_1F_EventScript_MonDislikedPokeblock
|
||
goto_if_eq VAR_0x8004, 1, LilycoveCity_PokemonCenter_1F_EventScript_MonLikedPokeblock
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_MonDislikedPokeblock::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_NoChangeThanks, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_MonLikedPokeblock::
|
||
special Script_BufferContestLadyCategoryAndMonName
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ReallyImprovedThanks, MSGBOX_DEFAULT
|
||
goto LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow::
|
||
specialvar VAR_RESULT, ShouldContestLadyShowGoOnAir
|
||
goto_if_eq VAR_RESULT, 1, LilycoveCity_PokemonCenter_1F_EventScript_AirContestLadyShow
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_AirContestLadyShow::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_ReadyToEnterContests, MSGBOX_DEFAULT
|
||
special PutLilycoveContestLadyShowOnTheAir
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_NoPokeblockCase::
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase, MSGBOX_DEFAULT
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_Movement_LadyFaceMon:
|
||
face_right
|
||
delay_8
|
||
step_end
|
||
|
||
LilycoveCity_PokemonCenter_1F_Movement_MonFaceLady:
|
||
face_left
|
||
delay_8
|
||
step_end
|
||
|
||
@ Unused
|
||
LilycoveCity_PokemonCenter_1F_Movement_MonFaceDown:
|
||
face_down
|
||
step_end
|
||
|
||
LilycoveCity_PokemonCenter_1F_Movement_LadyFacePlayer:
|
||
face_player
|
||
step_end
|
||
|
||
LilycoveCity_PokemonCenter_1F_Movement_MonJump:
|
||
disable_jump_landing_ground_effect
|
||
jump_in_place_left
|
||
disable_jump_landing_ground_effect
|
||
jump_in_place_left
|
||
step_end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon::
|
||
specialvar VAR_RESULT, GetContestLadyCategory
|
||
special Script_BufferContestLadyCategoryAndMonName
|
||
special GetContestLadyMonSpecies
|
||
goto_if_eq VAR_RESULT, CONTEST_CATEGORY_COOL, LilycoveCity_PokemonCenter_1F_EventScript_Zigzagoon
|
||
goto_if_eq VAR_RESULT, CONTEST_CATEGORY_BEAUTY, LilycoveCity_PokemonCenter_1F_EventScript_Skitty
|
||
goto_if_eq VAR_RESULT, CONTEST_CATEGORY_CUTE, LilycoveCity_PokemonCenter_1F_EventScript_Poochyena
|
||
goto_if_eq VAR_RESULT, CONTEST_CATEGORY_SMART, LilycoveCity_PokemonCenter_1F_EventScript_Kecleon
|
||
goto_if_eq VAR_RESULT, CONTEST_CATEGORY_TOUGH, LilycoveCity_PokemonCenter_1F_EventScript_Pikachu
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_Zigzagoon::
|
||
lock
|
||
faceplayer
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_Zigzagoon, MSGBOX_DEFAULT
|
||
waitmoncry
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_Skitty::
|
||
lock
|
||
faceplayer
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_Skitty, MSGBOX_DEFAULT
|
||
waitmoncry
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_Poochyena::
|
||
lock
|
||
faceplayer
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_Poochyena, MSGBOX_DEFAULT
|
||
waitmoncry
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_Kecleon::
|
||
lock
|
||
faceplayer
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_Kecleon, MSGBOX_DEFAULT
|
||
waitmoncry
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_EventScript_Pikachu::
|
||
lock
|
||
faceplayer
|
||
waitse
|
||
playmoncry VAR_0x8005, CRY_MODE_NORMAL
|
||
msgbox LilycoveCity_PokemonCenter_1F_Text_Pikachu, MSGBOX_DEFAULT
|
||
waitmoncry
|
||
release
|
||
end
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ImTheFavorLady:
|
||
.string "我是喜好女士……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ObsessedWithThing:
|
||
.string "最近我一直\n"
|
||
.string "想要{STR_VAR_1}的东西……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ThankYouForLastTime:
|
||
.string "啊……\n"
|
||
.string "之前谢谢你了……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeBadThing:
|
||
.string "以前,大概是{STR_VAR_3}……\p"
|
||
.string "{STR_VAR_3}给了我{STR_VAR_2},\n"
|
||
.string "说它{STR_VAR_1},\p"
|
||
.string "但那根本不{STR_VAR_1},\n"
|
||
.string "完全不。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeGreatThing:
|
||
.string "以前,{STR_VAR_3}给了我\n"
|
||
.string "非常{STR_VAR_1}的{STR_VAR_2},\p"
|
||
.string "现在我还在珍藏着。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WillYouShareThing:
|
||
.string "听着,如果你也有什么\n"
|
||
.string "{STR_VAR_1}的东西,\l"
|
||
.string "能送给我吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WhatWillYouGiveMe:
|
||
.string "……真的?\n"
|
||
.string "你要给我什么?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IsThatSoGoodbye:
|
||
.string "是吗?\n"
|
||
.string "那么再见吧……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_NotWillingToShare:
|
||
.string "哎……\n"
|
||
.string "你不愿意给啊。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IllTryToCherishIt:
|
||
.string "哦?\n"
|
||
.string "那个{STR_VAR_2}{STR_VAR_1}吗?\p"
|
||
.string "……哎,真的吗?\p"
|
||
.string "谢谢你,我会保存好的……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis:
|
||
.string "啊……\p"
|
||
.string "真的是非常{STR_VAR_1}的\n"
|
||
.string "{STR_VAR_2}……\p"
|
||
.string "真好啊,\n"
|
||
.string "好像做梦一样……\p"
|
||
.string "谢谢你……\n"
|
||
.string "我会珍惜的……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis:
|
||
.string "……啊,啊,啊……\p"
|
||
.string "多不可思议啊!\n"
|
||
.string "真的非常{STR_VAR_1}!\p"
|
||
.string "我从来都不知道{STR_VAR_2}\n"
|
||
.string "会这么{STR_VAR_1}!\p"
|
||
.string "谢谢,谢谢!\n"
|
||
.string "我会珍藏一辈子的!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IllGiveYouThisInReturn:
|
||
.string "你给了我这么好的礼物,\n"
|
||
.string "这个就当作我的回礼吧,\p"
|
||
.string "希望你也能好好保存……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_YouDontHaveSpaceForIt:
|
||
.string "哎,你的包包没空间\n"
|
||
.string "装下这个了啊。\p"
|
||
.string "整理好之后\n"
|
||
.string "再来找我吧……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ImTheQuizLady:
|
||
.string "我是谜题女士!\n"
|
||
.string "我喜欢谜题!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WaitingToTakeYourQuiz:
|
||
.string "哦?\p"
|
||
.string "我正在为你出的谜题\n"
|
||
.string "寻找挑战者,\p"
|
||
.string "下次再聊吧?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger:
|
||
.string "我正在寻找愿意挑战\n"
|
||
.string "{STR_VAR_1}的谜题的人!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_TakeQuizChallenge:
|
||
.string "你能解出来的话,\n"
|
||
.string "就会得到精美的奖品!\p"
|
||
.string "想要挑战吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WaitForAnswer:
|
||
.string "…… …… ……\n"
|
||
.string "…… …… ……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_HowBoringBye:
|
||
.string "啊,真遗憾!\n"
|
||
.string "再见!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_YoureGoingToQuit:
|
||
.string "啊啊!\n"
|
||
.string "你要退出吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_TakeTheQuizAnotherTime:
|
||
.string "以后再来挑战吧!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_YouGotItRight:
|
||
.string "真惊讶!你答对了!\n"
|
||
.string "真是敏锐的人啊!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize:
|
||
.string "恭喜!你解开了谜题!\p"
|
||
.string "这是{STR_VAR_1}提供的奖品!$"
|
||
|
||
@ Unused
|
||
LilycoveCity_PokemonCenter_1F_Text_XReceivedOneY:
|
||
.string "{STR_VAR_1}得到了\n"
|
||
.string "{STR_VAR_2}!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_YourBagIsFilledUp:
|
||
.string "哎?你的包包满了!\n"
|
||
.string "有空间的时候再来吧。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WrongTheCorrectAnswerIs:
|
||
.string "唔……错了。\n"
|
||
.string "正确答案应该是“{STR_VAR_3}”!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IGetToKeepPrize:
|
||
.string "真遗憾,\p"
|
||
.string "奖品{STR_VAR_1}我只好保留了!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_MakeYourOwnQuiz:
|
||
.string "那个,那个,\n"
|
||
.string "你也想出题吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_MaybeNextTime:
|
||
.string "哦,知道了……\n"
|
||
.string "那,下次好了!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_PickYourPrize:
|
||
.string "好的,首先你要选择一样\n"
|
||
.string "奖给回答正确的优胜者的礼物。\p"
|
||
.string "但要当心,如果挑战者\n"
|
||
.string "回答错了,\l"
|
||
.string "我就会保留奖品!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_QuitChoosingPrize:
|
||
.string "不选择奖品的话\n"
|
||
.string "就不能出题了,\p"
|
||
.string "你要放弃吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WriteYourQuiz:
|
||
.string "啊,真棒!\n"
|
||
.string "真不错的奖品!\p"
|
||
.string "下面,你需要写下你的\n"
|
||
.string "问题和答案。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizQuestion:
|
||
.string "不想出题了吗?$"
|
||
|
||
@ Unused
|
||
LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizAnswer:
|
||
.string "你要退出\n"
|
||
.string "答案选择吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IllLookForAChallenger:
|
||
.string "好的!\n"
|
||
.string "不错的问题。\p"
|
||
.string "我这就去找\n"
|
||
.string "愿意回答你的问题的挑战者。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ImTheContestLady:
|
||
.string "我是选美女士!\n"
|
||
.string "我非常喜欢华丽大赛!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ThankForPokeblock:
|
||
.string "谢谢你的宝可方块!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_MyFriendDisplaysQuality:
|
||
.string "这是我的伙伴{STR_VAR_1}!\n"
|
||
.string "它就是{STR_VAR_2}的典型!\p"
|
||
.string "但我认为它的表现\n"
|
||
.string "还会更{STR_VAR_2}!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase:
|
||
.string "能帮我个忙吗?\p"
|
||
.string "给我个宝可方块可以吗?\n"
|
||
.string "我只想要一个而已!\p"
|
||
.string "……哎,等等……\n"
|
||
.string "你没有宝可方块盒?\l"
|
||
.string "真可惜,那么下次再说吧!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_AskingForOnePokeblock:
|
||
.string "能帮我个忙吗?\p"
|
||
.string "给我个宝可方块可以吗?\n"
|
||
.string "我只想要一个而已!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ICantHaveOnePokeblock:
|
||
.string "啊啊啊!\n"
|
||
.string "一个宝可方块都不给吗?$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_WhatACheapskate:
|
||
.string "嘁!小气鬼!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_IllUseYourPokeblock:
|
||
.string "耶!谢谢!\n"
|
||
.string "马上就用它去喂我的宝可梦!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_NoChangeThanks:
|
||
.string "……看上去什么变化\n"
|
||
.string "也没有啊……\p"
|
||
.string "唔……\p"
|
||
.string "啊,还是谢谢你!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ReallyImprovedThanks:
|
||
.string "哦,耶!\n"
|
||
.string "它很高兴啊!\p"
|
||
.string "它{STR_VAR_1}的{STR_VAR_2}\n"
|
||
.string "肯定提升了!\p"
|
||
.string "非常感谢!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_ReadyToEnterContests:
|
||
.string "唔……\p"
|
||
.string "看来我们应该可以\n"
|
||
.string "参加华丽大赛了。\p"
|
||
.string "如果你在哪儿看到我们的话,\n"
|
||
.string "请为我们加油吧。$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_Zigzagoon:
|
||
.string "{STR_VAR_1}:咕~咕呜!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_Kecleon:
|
||
.string "{STR_VAR_1}:唧唧,唧唧!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_Poochyena:
|
||
.string "{STR_VAR_1}:汪—呜……$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_Pikachu:
|
||
.string "{STR_VAR_1}:皮~卡!$"
|
||
|
||
LilycoveCity_PokemonCenter_1F_Text_Skitty:
|
||
.string "{STR_VAR_1}:呜—喵~$"
|