mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-25 07:29:01 -05:00
Size contest: Route 222 East House scripts & text
This commit is contained in:
parent
0dd2d4c588
commit
ce54785d2d
|
|
@ -1,23 +1,24 @@
|
|||
#include "macros/scrcmd.inc"
|
||||
#include "res/text/bank/route_222_east_house.h"
|
||||
#include "generated/size_contest_results.h"
|
||||
|
||||
.data
|
||||
|
||||
ScriptEntry _000A
|
||||
ScriptEntry _0010
|
||||
ScriptEntry Route222EastHouse_OnLoad
|
||||
ScriptEntry Route222EastHouse_Fisherman
|
||||
ScriptEntryEnd
|
||||
|
||||
_000A:
|
||||
Route222EastHouse_OnLoad:
|
||||
SetFlag FLAG_UNK_0x09F0
|
||||
End
|
||||
|
||||
_0010:
|
||||
Route222EastHouse_Fisherman:
|
||||
PlayFanfare SEQ_SE_CONFIRM
|
||||
LockAll
|
||||
FacePlayer
|
||||
CheckPartyHasSpecies VAR_RESULT, SPECIES_REMORAID
|
||||
GoToIfEq VAR_RESULT, 0, _00CF
|
||||
Message 1
|
||||
GoToIfEq VAR_RESULT, 0, Route222EastHouse_NoRemoraid
|
||||
Message Route222EastHouse_Text_DreamtLargeRemoraidWasNoDream
|
||||
CloseMessage
|
||||
FadeScreen 6, 1, 0, 0
|
||||
WaitFadeScreen
|
||||
|
|
@ -26,65 +27,65 @@ _0010:
|
|||
ReturnToField
|
||||
FadeScreen 6, 1, 1, 0
|
||||
WaitFadeScreen
|
||||
GoToIfEq VAR_0x8002, 0xFF, _011E
|
||||
GoToIfEq VAR_0x8002, 0xFF, Route222EastHouse_ShowNoPokemon
|
||||
GetPartyMonSpecies VAR_0x8002, VAR_0x8001
|
||||
GoToIfNe VAR_0x8001, 223, _0108
|
||||
GoToIfNe VAR_0x8001, SPECIES_REMORAID, Route222EastHouse_ShowedOtherSpecies
|
||||
CalcSizeContestResult VAR_RESULT, VAR_0x8002
|
||||
GoToIfEq VAR_RESULT, 0, _00ED
|
||||
GoToIfEq VAR_RESULT, 1, _00DA
|
||||
GoToIfEq VAR_RESULT, SIZE_CONTEST_SMALLER, Route222EastHouse_SmallerThanRecord
|
||||
GoToIfEq VAR_RESULT, SIZE_CONTEST_SAME_SIZE, Route222EastHouse_TiedRecord
|
||||
BufferPartyPokemonSize 0, 1, VAR_0x8002
|
||||
Message 2
|
||||
Message Route222EastHouse_Text_BetterThanInMyDream
|
||||
SetVar VAR_0x8004, ITEM_NET_BALL
|
||||
SetVar VAR_0x8005, 1
|
||||
GoToIfCannotFitItem VAR_0x8004, VAR_0x8005, VAR_RESULT, _0113
|
||||
GoToIfCannotFitItem VAR_0x8004, VAR_0x8005, VAR_RESULT, Route222EastHouse_BagFull
|
||||
CallCommonScript 0x7FC
|
||||
UpdateSizeContestRecord VAR_0x8002
|
||||
Message 3
|
||||
Message Route222EastHouse_Text_WillDreamOfBiggerRemoraid
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_00CF:
|
||||
Message 0
|
||||
Route222EastHouse_NoRemoraid:
|
||||
Message Route222EastHouse_Text_DreamtLargeRemoraid
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_00DA:
|
||||
BufferSizeContestRecord 0, 1, 223
|
||||
Message 4
|
||||
Route222EastHouse_TiedRecord:
|
||||
BufferSizeContestRecord 0, 1, SPECIES_REMORAID
|
||||
Message Route222EastHouse_Text_RememberThisSize
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_00ED:
|
||||
Route222EastHouse_SmallerThanRecord:
|
||||
BufferPartyPokemonSize 0, 1, VAR_0x8002
|
||||
BufferSizeContestRecord 2, 3, 223
|
||||
Message 5
|
||||
BufferSizeContestRecord 2, 3, SPECIES_REMORAID
|
||||
Message Route222EastHouse_Text_KnowAGenius
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_0108:
|
||||
Message 6
|
||||
Route222EastHouse_ShowedOtherSpecies:
|
||||
Message Route222EastHouse_Text_DidYouListen
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_0113:
|
||||
Message 7
|
||||
Route222EastHouse_BagFull:
|
||||
Message Route222EastHouse_Text_BagJammedFull
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
End
|
||||
|
||||
_011E:
|
||||
Message 8
|
||||
Route222EastHouse_ShowNoPokemon:
|
||||
Message Route222EastHouse_Text_DenyMeasureRemoraid
|
||||
WaitABXPadPress
|
||||
CloseMessage
|
||||
ReleaseAll
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
<?xml version="1.0"?>
|
||||
<body language="English">
|
||||
<key value="20115" />
|
||||
<row id="pl_msg_00000519_00000" index="0">
|
||||
<row id="Route222EastHouse_Text_DreamtLargeRemoraid" index="0">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">I had a dream!\nIt was a wonderful dream!\rI dreamt that a Trainer would bring\nme a giant REMORAID!</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00001" index="1">
|
||||
<row id="Route222EastHouse_Text_DreamtLargeRemoraidWasNoDream" index="1">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">I had a dream!\nIt was a wonderful dream!\rI dreamt that a Trainer would bring\nme a giant REMORAID!\rOh, my gosh!\nThat dream was no dream!\rH-how big of a REMORAID did you\nbring me?!\r</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00002" index="2">
|
||||
<row id="Route222EastHouse_Text_BetterThanInMyDream" index="2">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">{STRVAR_1 52, 0, 0}.{STRVAR_1 50, 1, 0} inches...\nThis REMORAID is {STRVAR_1 52, 0, 0}.{STRVAR_1 50, 1, 0} inches...\r...I think you did better than in\nmy dream!\rI’d like you to have this.\r</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00003" index="3">
|
||||
<row id="Route222EastHouse_Text_WillDreamOfBiggerRemoraid" index="3">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">Thank you!\nI really enjoyed this.\rI think I’ll dream of an even bigger\nREMORAID tonight.</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00004" index="4">
|
||||
<row id="Route222EastHouse_Text_RememberThisSize" index="4">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">{STRVAR_1 52, 0, 0}.{STRVAR_1 50, 1, 0} inches...\nAm I experiencing deja vu?\fI distinctly remember this size...</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00005" index="5">
|
||||
<row id="Route222EastHouse_Text_KnowAGenius" index="5">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">This REMORAID was {STRVAR_1 52, 0, 0}.{STRVAR_1 50, 1, 0} inches.\rI know a genius who brought me\na REMORAID that was {STRVAR_1 52, 2, 0}.{STRVAR_1 50, 3, 0} inches...</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00006" index="6">
|
||||
<row id="Route222EastHouse_Text_DidYouListen" index="6">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">Wha...\nWhat do you think you’re showing me?\rDid you even listen to what I had\nto say?</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00007" index="7">
|
||||
<row id="Route222EastHouse_Text_BagJammedFull" index="7">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">Your Bag’s jammed full...\nI can’t give you this...</language>
|
||||
</row>
|
||||
<row id="pl_msg_00000519_00008" index="8">
|
||||
<row id="Route222EastHouse_Text_DenyMeasureRemoraid" index="8">
|
||||
<attribute name="window_context_name">used</attribute>
|
||||
<language name="English">Oh, what? Why would you deny me\nthe chance to measure your REMORAID?</language>
|
||||
</row>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user