Move strings.s to src

This commit is contained in:
GriffinR
2020-03-05 13:33:00 -05:00
parent 362cddc0f5
commit eb4327a714
13 changed files with 1937 additions and 5831 deletions
-4845
View File
File diff suppressed because it is too large Load Diff
-482
View File
@@ -1,482 +0,0 @@
QuestLog_Text_PreviouslyOnYourQuest:: @ 841A155
.string "Previously on your quest…$"
QuestLog_Text_SwitchMon1WithMon2:: @ 841A16F
.string "{PLAYER} switched the POKéMON\n"
.string "{STR_VAR_1} with {STR_VAR_2}.$"
QuestLog_Text_SwappedHeldItemsOnMon:: @ 841A193
.string "Took the item {STR_VAR_2} from\n"
.string "{STR_VAR_1} and gave it the item\n"
.string "{STR_VAR_3} to hold.$"
QuestLog_Text_TookHeldItemFromMon:: @ 841A1CD
.string "Took the item {STR_VAR_2} from\n"
.string "{STR_VAR_1}.$"
QuestLog_Text_UsedItemOnMonAtThisLocation:: @ 841A1E7
.string "Used the item {STR_VAR_1} on {STR_VAR_2}\n"
.string "at this location.$"
QuestLog_Text_UsedTheItem:: @ 841A210
.string "{PLAYER} used the\n"
.string "{STR_VAR_1}.$"
QuestLog_Text_UsedTheKeyItem:: @ 841A220
.string "Used the item {STR_VAR_1}, which was\n"
.string "in the KEY ITEMS POCKET.$"
QuestLog_Text_MonLearnedMoveFromTM:: @ 841A255
.string "{STR_VAR_1} learned the move\n"
.string "{STR_VAR_2} from a TM.$"
QuestLog_Text_MonReplacedMoveWithTM:: @ 841A277
.string "{STR_VAR_1} learned the move\n"
.string "{STR_VAR_2} from a TM and forgot\n"
.string "the move {STR_VAR_3}.$"
QuestLog_Text_MonsWereFullyRestoredAtCenter:: @ 841A2B0
.string "POKéMON were fully restored\n"
.string "at a POKéMON CENTER.$"
QuestLog_Text_PlayerBattledChampionRival:: @ 841A2E1
.string "{DYNAMIC 0x00} had a marvelous battle\n"
.string "with the CHAMPION, {DYNAMIC 0x01}.$"
QuestLog_Text_PlayerSentOutMon1RivalSentOutMon2:: @ 841A312
.string "In the end, {DYNAMIC 0x00} sent out {DYNAMIC 0x01}\n"
.string "while {DYNAMIC 0x02} countered with\n"
.string "{DYNAMIC 0x03}.$"
QuestLog_Text_WonTheMatchAsAResult:: @ 841A349
.string "And, as a result of battling with every\n"
.string "bit of power, {DYNAMIC 0x00} won\n"
.string "the match.$"
QuestLog_Text_StoredItemInPC:: @ 841A391
.string "Removed the item {STR_VAR_1} from\n"
.string "the BAG's ITEMS POCKET and stored it\n"
.string "on the PC.$"
QuestLog_Text_WithdrewItemFromPC:: @ 841A3DA
.string "{PLAYER} withdrew the item {STR_VAR_1}\n"
.string "from the PC.$"
QuestLog_Text_TradedMon1ForPersonsMon2:: @ 841A3FF
.string "Traded {STR_VAR_3} in exchange for\n"
.string "{STR_VAR_1}'s {STR_VAR_2}.$"
QuestLog_Text_SingleBattleWithPersonResultedInOutcome:: @ 841A422
.string "Took on {DYNAMIC 0x00} in a SINGLE BATTLE.\n"
.string "It was a hotly contested match that\n"
.string "resulted in a {DYNAMIC 0x01}.$"
QuestLog_Text_DoubleBattleWithPersonResultedInOutcome:: @ 841A477
.string "Took on {DYNAMIC 0x00} in a DOUBLE BATTLE.\n"
.string "It was an extended match that resulted\n"
.string "in a {DYNAMIC 0x01}.$"
QuestLog_Text_MultiBattleWithPeopleResultedInOutcome:: @ 841A4C6
.string "{DYNAMIC 0x00} and {DYNAMIC 0x01} took on\n"
.string "{DYNAMIC 0x02} and {DYNAMIC 0x03} in a\n"
.string "MULTI BATTLE and got a {DYNAMIC 0x04}.$"
QuestLog_Text_Win::
.string "win$"
QuestLog_Text_Loss::
.string "loss$"
QuestLog_Text_MingledInUnionRoom:: @ 841A50B
.string "Mingled with other TRAINERS in\n"
.string "the UNION ROOM.$"
QuestLog_Text_DepartedPlaceInTownForNextDestination:: @ 841A53A
.string "Departed {STR_VAR_2}\n"
.string "in {STR_VAR_1} for the next\n"
.string "destination.$"
QuestLog_Text_SwitchedMonsBetweenBoxes:: @ 841A566
.string "After consideration, switched\n"
.string "{DYNAMIC 0x01} in {DYNAMIC 0x00} with\n"
.string "{DYNAMIC 0x03} in {DYNAMIC 0x02}.$"
QuestLog_Text_MovedMonToNewBox:: @ 841A59C
.string "After deep thought, switched\n"
.string "{DYNAMIC 0x01} in BOX “{DYNAMIC 0x00}” to\n"
.string "the BOX “{DYNAMIC 0x02}.”$"
QuestLog_Text_SwitchedMonsWithinBox:: @ 841A5D9
.string "Switched around {DYNAMIC 0x01} and\n"
.string "{DYNAMIC 0x02} in {DYNAMIC 0x00}.$"
QuestLog_Text_MovedMonWithinBox:: @ 841A5FA
.string "Moved {DYNAMIC 0x01} in {DYNAMIC 0x00}.$"
QuestLog_Text_SwitchedPartyMonForPCMon:: @ 841A60A
.string "Switched {DYNAMIC 0x01} in {DYNAMIC 0x00}\n"
.string "with {DYNAMIC 0x02} in the party.$"
QuestLog_Text_WithdrewMonFromPC:: @ 841A632
.string "Added {DYNAMIC 0x01} in {DYNAMIC 0x00}\n"
.string "to the party.$"
QuestLog_Text_DepositedMonInPC:: @ 841A64F
.string "Moved {DYNAMIC 0x00} from the party\n"
.string "to {DYNAMIC 0x01}.$"
QuestLog_Text_SwitchedMultipleMons:: @ 841A66E
.string "Moved a group of POKéMON in\n"
.string "{DYNAMIC 0x00} to {DYNAMIC 0x01}.$"
QuestLog_Text_ADifferentSpot:: @ 841A694
.string "a different spot$"
QuestLog_Text_GaveMonHeldItemFromPC:: @ 841A6A5
.string "Removed the item {STR_VAR_1} from\n"
.string "{PLAYER}'s PC and gave it to {STR_VAR_2}\n"
.string "to hold.$"
QuestLog_Text_SwappedHeldItemFromPC:: @ 841A6E1
.string "Removed the item {STR_VAR_1} from\n"
.string "a PC, gave it to {STR_VAR_2}, and put\n"
.string "the {STR_VAR_3} it held in the BAG.$"
QuestLog_Text_ChattedWithManyTrainers:: @ 841A732
.string "Chatted with many TRAINERS.$"
QuestLog_Text_Handily::
.string "handily$"
QuestLog_Text_Tenaciously::
.string "tenaciously$"
QuestLog_Text_Somehow::
.string "somehow$"
QuestLog_Text_TradedMon1ForTrainersMon2:: @ 841A76A
.string "Met and traded with {STR_VAR_1}.\n"
.string "Obtained the TRAINER's {STR_VAR_2} in\n"
.string "exchange for {STR_VAR_3}.$"
QuestLog_Text_BattledTrainerEndedInOutcome:: @ 841A7B0
.string "Met and battled {STR_VAR_1}.\n"
.string "The match ended in a {STR_VAR_2}.$"
QuestLog_Text_BoughtItem:: @ 841A7DD
.string "Went to the POKéMON MART in\n"
.string "{DYNAMIC 0x00} and bought one \n"
.string "{DYNAMIC 0x01}.$"
QuestLog_Text_BoughtItemsIncludingItem:: @ 841A810
.string "Went to the POKéMON MART in\n"
.string "{DYNAMIC 0x00} and spent ¥{DYNAMIC 0x02} for\n"
.string "items including {DYNAMIC 0x01}(s).$"
QuestLog_Text_SoldNumOfItem:: @ 841A858
.string "{DYNAMIC 0x00} went to the POKéMON MART in\n"
.string "{DYNAMIC 0x01} and sold {DYNAMIC 0x03} of\n"
.string "the item {DYNAMIC 0x02}.$"
QuestLog_Text_SoldItemsIncludingItem:: @ 841A896
.string "Sold items including {DYNAMIC 0x01} at\n"
.string "the POKéMON MART in {DYNAMIC 0x00},\n"
.string "worth ¥{DYNAMIC 0x02}.$"
QuestLog_Text_JustOne:: @ 841A8D4
.string "just one$"
QuestLog_Text_Num:: @ 841A8DD
.string "{DYNAMIC 0x04}$"
QuestLog_Text_UsedSoftboiled:: @ 841A8E0
.string "{STR_VAR_1} shared its HP using the move\n"
.string "SOFTBOILED.$"
QuestLog_Text_UsedMilkDrink:: @ 841A90C
.string "{STR_VAR_1} shared its HP using the move\n"
.string "MILK DRINK.$"
QuestLog_Text_MonLearnedMoveFromHM:: @ 841A938
.string "{STR_VAR_1} securely learned the move\n"
.string "{STR_VAR_2} using an HM.$"
QuestLog_Text_MonReplacedMoveWithHM:: @ 841A965
.string "{STR_VAR_1} securely learned the move\n"
.string "{STR_VAR_2} using an HM and forgot\n"
.string "the move {STR_VAR_3}.$"
QuestLog_Text_DefeatedWildMon:: @ 841A9A9
.string "{DYNAMIC 0x05} managed to defeat the POKéMON\n"
.string "{DYNAMIC 0x01} in {DYNAMIC 0x00}.$"
QuestLog_Text_DefeatedWildMons:: @ 841A9D4
.string "Defeated {DYNAMIC 0x02} wild POKéMON including\n"
.string "{DYNAMIC 0x01} in {DYNAMIC 0x00}.$"
QuestLog_Text_CaughtWildMon:: @ 841AA01
.string "{DYNAMIC 0x05} managed to catch the POKéMON\n"
.string "{DYNAMIC 0x03} in {DYNAMIC 0x00}.$"
QuestLog_Text_CaughtWildMons:: @ 841AA2B
.string "Threw POKé BALLS in a frenzy, catching\n"
.string "{DYNAMIC 0x04} POKéMON including {DYNAMIC 0x03} here\n"
.string "in {DYNAMIC 0x00}.$"
QuestLog_Text_DefeatedWildMonAndCaughtWildMon:: @ 841AA76
.string "{DYNAMIC 0x05} defeated the POKéMON\n"
.string "{DYNAMIC 0x01} and caught one {DYNAMIC 0x03}\n"
.string "in {DYNAMIC 0x00}.$"
QuestLog_Text_DefeatedWildMonAndCaughtWildMons:: @ 841AAAA
.string "Defeated the POKéMON {DYNAMIC 0x01}\n"
.string "and caught {DYNAMIC 0x04} POKéMON including\n"
.string "{DYNAMIC 0x03} in {DYNAMIC 0x00}.$"
QuestLog_Text_DefeatedWildMonsAndCaughtWildMon:: @ 841AAEC
.string "{DYNAMIC 0x05} defeated {DYNAMIC 0x02} POKéMON including\n"
.string "{DYNAMIC 0x01} and caught one {DYNAMIC 0x03}\n"
.string "in {DYNAMIC 0x00}.$"
QuestLog_Text_DefeatedWildMonsAndCaughtWildMons:: @ 841AB29
.string "Defeated {DYNAMIC 0x02} POKéMON including\n"
.string "{DYNAMIC 0x01} and caught {DYNAMIC 0x04} POKéMON\n"
.string "including {DYNAMIC 0x03} in {DYNAMIC 0x00}.$"
QuestLog_Text_GaveMonHeldItem:: @ 841AB74
.string "Made {STR_VAR_1} hold the item\n"
.string "{STR_VAR_2}.$"
QuestLog_Text_GaveMonHeldItem2:: @ 841AB8E
.string "{PLAYER} made {STR_VAR_1} hold the item\n"
.string "{STR_VAR_2}.$"
QuestLog_Text_UsedCut:: @ 841ABAB
.string "{STR_VAR_1} used the Hidden Move\n"
.string "CUT here.$"
QuestLog_Text_UsedFly:: @ 841ABCD
.string "{STR_VAR_1} used the Hidden Move\n"
.string "FLY and flew to {STR_VAR_2}.$"
QuestLog_Text_UsedSurf:: @ 841ABF9
.string "{STR_VAR_1} used the Hidden Move\n"
.string "SURF and rode the waves.$"
QuestLog_Text_UsedStrength:: @ 841AC2A
.string "{STR_VAR_1} used the Hidden Move\n"
.string "STRENGTH here.$"
QuestLog_Text_UsedFlash:: @ 841AC51
.string "{STR_VAR_1} used the Hidden Move\n"
.string "FLASH and illuminated a pitch-black\n"
.string "cave.$"
QuestLog_Text_UsedRockSmash:: @ 841AC93
.string "{STR_VAR_1} used the Hidden Move\n"
.string "ROCK SMASH here.$"
QuestLog_Text_UsedWaterfall:: @ 841ACBC
.string "{STR_VAR_1} used the Hidden Move\n"
.string "WATERFALL to scale a raging torrent.$"
@ Unused
QuestLog_Text_UsedDive:: @ 841ACF9
.string "{STR_VAR_1}は ふかい ところを めざし\n"
.string "ひでんわざ\n"
.string "ダイビングを つかった!$"
QuestLog_Text_UsedDigInLocation:: @ 841AD1D
.string "{STR_VAR_1} used DIG to escape from\n"
.string "{STR_VAR_2}.$"
QuestLog_Text_UsedSweetScent:: @ 841AD3C
.string "{STR_VAR_1} used SWEET SCENT to attract\n"
.string "wild POKéMON.$"
QuestLog_Text_UsedTeleportToLocation:: @ 841AD69
.string "{STR_VAR_1} used TELEPORT, transporting\n"
.string "the party to {STR_VAR_2}'s\n"
.string "{STR_VAR_3}.$"
QuestLog_Text_LeftTownsLocationForNextDestination:: @ 841AD9E
.string "{PLAYER} left {STR_VAR_1}'s\n"
.string "{STR_VAR_2} for the next\n"
.string "destination.$"
QuestLog_Text_PlayedGamesAtGameCorner:: @ 841ADC8
.string "Played a lot of games at the ROCKET\n"
.string "GAME CORNER in {STR_VAR_1}.$"
QuestLog_Text_RestedAtHome:: @ 841ADFF
.string "{PLAYER} rested comfortably at home.$"
QuestLog_Text_LeftOaksLab:: @ 841AE1E
.string "{PLAYER} left PROF. OAK's POKéMON\n"
.string "RESEARCH LAB.$"
QuestLog_Text_GymWasFullOfToughTrainers:: @ 841AE48
.string "The GYM in {STR_VAR_1} was full of\n"
.string "tough TRAINERS…\n"
.string "Preparations had to be made.$"
QuestLog_Text_DepartedGym:: @ 841AE8F
.string "Departed the GYM in {STR_VAR_1}.$"
QuestLog_Text_HadGreatTimeInSafariZone:: @ 841AEA7
.string "{PLAYER} had a great time with POKéMON\n"
.string "in the SAFARI ZONE.$"
QuestLog_Text_ManagedToGetOutOfLocation:: @ 841AEDC
.string "Managed to get out of {STR_VAR_2}\n"
.string "after wandering about.$"
QuestLog_Text_TookOnGymLeadersMonWithMonAndWon:: @ 841AF0C
.string "Took on {DYNAMIC 0x00} GYM LEADER\n"
.string "{DYNAMIC 0x01}'s {DYNAMIC 0x02} with {DYNAMIC 0x03}\n"
.string "and won {DYNAMIC 0x04}!$"
QuestLog_Text_TookOnEliteFoursMonWithMonAndWon:: @ 841AF3E
.string "Took on ELITE FOUR {DYNAMIC 0x00}'s\n"
.string "{DYNAMIC 0x01} with {DYNAMIC 0x02} and\n"
.string "won {DYNAMIC 0x03}!$"
QuestLog_Text_TookOnTrainersMonWithMonAndWon:: @ 841AF6D
.string "In {DYNAMIC 0x00}, took on\n"
.string "{DYNAMIC 0x01}'s {DYNAMIC 0x02} with {DYNAMIC 0x03}\n"
.string "and won {DYNAMIC 0x04}!$"
QuestLog_Text_Coolly:: @ 841AF98
.string "coolly$"
QuestLog_Text_Barely:: @ 841AF9F
.string "barely$"
QuestLog_Text_UsedEscapeRope:: @ 841AFA6
.string "{PLAYER} used an ESCAPE ROPE to get\n"
.string "out from {STR_VAR_2}.$"
QuestLog_Text_Draw:: @ 841AFD1
.string "draw$"
QuestLog_Text_DepartedTheLocationForNextDestination:: @ 841AFD6
.string "Departed from the {STR_VAR_2}\n"
.string "for the next destination.$"
QuestLog_Text_DepartedFromLocationToNextDestination:: @ 841B005
.string "{PLAYER} departed from\n"
.string "{STR_VAR_2} and made way\n"
.string "to the next destination.$"
QuestLog_Text_ObtainedItemInLocation:: @ 841B03F
.string "Here in {STR_VAR_1}, {PLAYER}\n"
.string "obtained the item {STR_VAR_2}.$"
QuestLog_Text_ArrivedInLocation:: @ 841B064
.string "Arrived in {STR_VAR_1}.$"
QuestLog_Text_SavedGameAtLocation:: @ 841B073
.string "And {PLAYER} saved the game at this\n"
.string "location: {STR_VAR_1}.$"
QuestLog_Text_Home:: @ 841B09F
.string "HOME$"
QuestLog_Text_OakResearchLab:: @ 841B0A4
.string "OAK RESEARCH LAB$"
QuestLog_Text_Gym:: @ 841B0B5
.string "GYM$"
QuestLog_Text_PokemonLeagueGate:: @ 841B0B9
.string "POKéMON LEAGUE GATE$"
QuestLog_Text_ViridianForest:: @ 841B0CD
.string "VIRIDIAN FOREST$"
QuestLog_Text_PewterMuseumOfScience:: @ 841B0DD
.string "PEWTER MUSEUM OF SCIENCE$"
QuestLog_Text_MtMoon:: @ 841B0F6
.string "MT. MOON$"
QuestLog_Text_BikeShop:: @ 841B0FF
.string "BIKE SHOP$"
QuestLog_Text_BillsHouse:: @ 841B109
.string "BILL'S HOUSE$"
QuestLog_Text_DayCare:: @ 841B116
.string "DAY CARE$"
QuestLog_Text_UndergroundPath:: @ 841B11F
.string "UNDERGROUND PATH$"
QuestLog_Text_PokemonFanClub:: @ 841B130
.string "POKéMON FAN CLUB$"
QuestLog_Text_SSAnne:: @ 841B141
.string "S.S. ANNE$"
QuestLog_Text_DiglettsCave:: @ 841B14B
.string "DIGLETT'S CAVE$"
QuestLog_Text_RockTunnel:: @ 841B15A
.string "ROCK TUNNEL$"
QuestLog_Text_PowerPlant:: @ 841B166
.string "POWER PLANT$"
QuestLog_Text_PokemonTower:: @ 841B172
.string "POKéMON TOWER$"
QuestLog_Text_VolunteerHouse:: @ 841B180
.string "VOLUNTEER HOUSE$"
QuestLog_Text_NameRatersHouse:: @ 841B190
.string "NAME RATER'S HOUSE$"
QuestLog_Text_CeladonDeptStore:: @ 841B1A3
.string "CELADON DEPT. STORE$"
QuestLog_Text_CeladonMansion:: @ 841B1B7
.string "CELADON MANSION$"
QuestLog_Text_RocketGameCorner:: @ 841B1C7
.string "ROCKET GAME CORNER$"
QuestLog_Text_Restaurant:: @ 841B1DA
.string "RESTAURANT$"
QuestLog_Text_RocketHideout:: @ 841B1E5
.string "ROCKET HIDEOUT$"
QuestLog_Text_SafariZone:: @ 841B1F4
.string "SAFARI ZONE$"
QuestLog_Text_WardensHome:: @ 841B200
.string "WARDEN'S HOME$"
QuestLog_Text_FightingDojo:: @ 841B20E
.string "FIGHTING DOJO$"
QuestLog_Text_SilphCo:: @ 841B21C
.string "SILPH CO.$"
QuestLog_Text_SeafoamIslands:: @ 841B226
.string "SEAFOAM ISLANDS$"
QuestLog_Text_PokemonMansion:: @ 841B236
.string "POKéMON MANSION$"
QuestLog_Text_PokemonResearchLab:: @ 841B246
.string "POKéMON RESEARCH LAB$"
QuestLog_Text_VictoryRoad:: @ 841B25B
.string "VICTORY ROAD$"
QuestLog_Text_PokemonLeague:: @ 841B268
.string "POKéMON LEAGUE$"
QuestLog_Text_CeruleanCave:: @ 841B277
.string "CERULEAN CAVE$"
-227
View File
@@ -1,227 +0,0 @@
gTeachyTvString_TeachBattle:: @ 841B7A4
.string "Teach me how to battle.$"
gTeachyTvString_StatusProblems:: @ 841B7BC
.string "What are status problems?$"
gTeachyTvString_TypeMatchups:: @ 841B7D6
.string "What are type matchups?$"
gTeachyTvString_CatchPkmn:: @ 841B7EE
.string "I want to catch POKéMON.$"
gTeachyTvString_AboutTMs:: @ 841B807
.string "Teach me about TMs.$"
gTeachyTvString_RegisterItem:: @ 841B81B
.string "How do I register an item?$"
gTeachyTvString_Cancel:: @ 841B836
.string "CANCEL$"
gTeachyTvText_PokedudeSaysHello:: @ 841B83D
.string "Hey, all you TRAINERS out there!\n"
.string "HELLO, TRAINERS!\p"
.string "……… ……… ………\p"
.string "Come on, let me hear you!\n"
.string "HELLO, TRAINERS!\l"
.string "It's me, the POKé DUDE!\p"
.string "$"
gTeachyTvText_BattleScript1:: @ 841B8BF
.string "Today, the POKé DUDE's here to\n"
.string "tell you about how you can battle\l"
.string "POKéMON!\p"
.string "Say you're out for a stroll when,\n"
.string "suddenly, a wild POKéMON appears!\p"
.string "It's up to you to smartly use your\n"
.string "POKéMON and their moves to reduce\l"
.string "the opponent's HP to nothing, and\l"
.string "claim victory!\p"
.string "I'll show you how to do that in\n"
.string "person and for sure!\p"
.string "All righty, here goes!\p"
.string "Keep your eyes glued to the super\n"
.string "POKé DUDE SHOW!$"
gTeachyTvText_BattleScript2:: @ 841BA41
.string "Well, did you get that?\p"
.string "Even if your own POKéMON's HP\n"
.string "falls to zero, and it becomes\l"
.string "unable to battle, not to worry!\p"
.string "Just take it to any POKéMON\n"
.string "CENTER and heal it!\p"
.string "All righty, be seeing you!\p"
.string "Remember, TRAINERS, a good deed\n"
.string "a day brings happiness to stay!$"
gTeachyTvText_StatusScript1:: @ 841BB40
.string "Today, the POKé DUDE's here to\n"
.string "tell you about status problems!\p"
.string "Status problems include poisoning,\n"
.string "paralysis, sleep, burn…\p"
.string "There are a couple others, but\n"
.string "they really are trouble.\p"
.string "Get any one, and your POKéMON\n"
.string "may become useless in battle.\p"
.string "You know, it hurts the POKé DUDE\n"
.string "to see a POKéMON suffer…\p"
.string "So, what should you do if your\n"
.string "POKéMON gets a status problem?\p"
.string "Well, you've got me to show you!\p"
.string "All righty, here goes!\p"
.string "Keep your eyes glued to the super\n"
.string "POKé DUDE SHOW!$"
gTeachyTvText_StatusScript2:: @ 841BD10
.string "Poisoning or paralysis don't go\n"
.string "away after a battle.\p"
.string "If a POKéMON is poisoned, it loses\n"
.string "HP even while you're walking.\p"
.string "You should heal POKéMON of these\n"
.string "kinds of problems right away.\p"
.string "Use an item, or try to get to a\n"
.string "POKéMON CENTER for healing.\p"
.string "That wasn't hard, was it?\n"
.string "All righty, be seeing you!\p"
.string "Remember, TRAINERS, a good deed\n"
.string "a day brings happiness to stay!$"
gTeachyTvText_MatchupsScript1:: @ 841BE76
.string "Does everyone know about type\n"
.string "matchups?\p"
.string "POKéMON and their moves all\n"
.string "belong to certain types.\p"
.string "For example, there are such types\n"
.string "as GRASS and WATER.\p"
.string "You need to consider the type of\n"
.string "the move used to attack…\p"
.string "And, the type of the POKéMON that\n"
.string "is hit by that attack.\p"
.string "Depending on how those two types\n"
.string "match up, the damage can change.\p"
.string "You see, it depends on whether\n"
.string "the type matchup is good or bad.\p"
.string "If you don't know how matchups\n"
.string "work, battles will be tough.\p"
.string "So, let me demonstrate exactly\n"
.string "what I mean.\p"
.string "All righty, here goes!\p"
.string "Keep your eyes glued to the super\n"
.string "POKé DUDE SHOW!$"
gTeachyTvText_MatchupsScript2:: @ 841C0AF
.string "Is it possible to launch an attack\n"
.string "that will inflict heavy damage?\p"
.string "Does the opposing POKéMON pose\n"
.string "a threat to your POKéMON?\p"
.string "Is there any chance that it may\n"
.string "have disastrously tough moves?\p"
.string "Watch the type matchups to gain\n"
.string "the upper hand!\p"
.string "All righty, be seeing you!\p"
.string "Oh, for the COOL-type POKé DUDE,\n"
.string "AWESOME-type kids like you match\l"
.string "up perfectly!\p"
.string "Remember, a good deed a day\n"
.string "brings happiness to stay!$"
gTeachyTvText_CatchingScript1:: @ 841C23B
.string "Today, the POKé DUDE's going to\n"
.string "show you how to catch POKéMON!\p"
.string "Just imagine… A groovy POKéMON\n"
.string "suddenly appearing in the wild!\p"
.string "Oh, you want it!\n"
.string "You just can't help it!\p"
.string "Oh, you have to catch it!\n"
.string "You gotta have it!\p"
.string "Let me show you how you can make\n"
.string "it happen!\p"
.string "All righty, here goes!\p"
.string "Keep your eyes glued to the super\n"
.string "POKé DUDE SHOW!$"
gTeachyTvText_CatchingScript2:: @ 841C384
.string "If your first POKé BALL fails to\n"
.string "catch the POKéMON, don't give up!\p"
.string "Keep throwing POKé BALLS…\n"
.string "It's bound to work sometime!\p"
.string "All righty, be seeing you!\p"
.string "Remember, TRAINERS, a good deed\n"
.string "a day brings happiness to stay!$"
gTeachyTvText_TMsScript1:: @ 841C459
.string "Hey, everyone!\n"
.string "Do you all have TMs?\p"
.string "A TM, Technical Machine, is an\n"
.string "amazingly great item!\p"
.string "It teaches POKéMON a move that\n"
.string "it may not learn when leveling up!\p"
.string "Isn't that just great? What a\n"
.string "convenient world we live in!\p"
.string "Open the TM CASE and check out\n"
.string "the TMs you have.\p"
.string "You can check them out in detail,\n"
.string "too.$"
gPokedudeText_TMTypes:: @ 841C587
.string "POKé DUDE: NORMAL, WATER, GRASS…\n"
.string "TMs also come in types.\p"
.string "Check the type and teach it to\n"
.string "a POKéMON that matches up well.\p"
.string "For example, WATER PULSE is\n"
.string "suitable for WATER-type POKéMON.\p"
.string "BULLET SEED is a move that most\n"
.string "GRASS-type POKéMON can learn.\p"
.string "There's one other thing!$"
gPokedudeText_ReadTMDescription:: @ 841C693
.string "Don't just look at the type, read\n"
.string "the description, too.\p"
.string "It will contain hints about what\n"
.string "POKéMON might learn the move.\p"
.string "For example, take a move like\n"
.string "FOCUS PUNCH.\p"
.string "It doesn't sound like anything a\n"
.string "bird or fish POKéMON can learn.\p"
.string "So, try using it on POKéMON with\n"
.string "arms that can throw punches!$"
gTeachyTvText_TMsScript2:: @ 841C7B4
.string "Wow, I talked a lot today!\n"
.string "All righty, be seeing you!\p"
.string "Remember, TRAINERS, a good deed\n"
.string "a day brings happiness to stay!$"
gTeachyTvText_RegisterScript1:: @ 841C82A
.string "A TRAINER's BAG has a bunch of\n"
.string "nifty, convenient features!\p"
.string "Take stuff in the KEY ITEMS\n"
.string "POCKET, for instance.\p"
.string "You can use a key item without\n"
.string "opening the BAG every time.\p"
.string "For example, let's pretend I have\n"
.string "a TEACHY TV in my BAG.\p"
.string "I can register it for instant use,\n"
.string "and I'll show you how!\p"
.string "All righty, here goes!\p"
.string "Keep your eyes glued to the sorta\n"
.string "super POKé DUDE SHOW!$"
gTeachyTvText_RegisterScript2:: @ 841C994
.string "And now, your TEACHY TV is\n"
.string "registered.\p"
.string "How do you use it?\n"
.string "Well, here's how it works.\p"
.string "Once an item in the KEY ITEMS\n"
.string "POKCET is registered, you can use\l"
.string "it by pressing SELECT.\p"
.string "So, you've given yourself\n"
.string "one-touch access to TEACHY TV.\p"
.string "All it takes for you to see me is\n"
.string "pressing one button!\p"
.string "That kind of attention is a little\n"
.string "embarrassing!\p"
.string "All righty, be seeing you!\p"
.string "Remember, TRAINERS, a good deed\n"
.string "a day brings happiness to stay!$"
+128 -1
View File
@@ -159,7 +159,7 @@ extern const u8 gString_Someone[];
extern const u8 gString_Help[];
extern const u8 gString_HelpSystem_ClearTo8[];
extern const u8 gOtherText_StrVar1[];
extern const u8 gText_Var1IsSelected[];
extern const u8 gOtherText_WhereShouldTheStrVar1BePlaced[];
extern const u8 gOtherText_Powder[];
extern const u8 gText_NoMoreRoomInBag[];
@@ -1182,4 +1182,131 @@ extern const u8 gText_NeatnessRankings[];
extern const u8 gText_CooperativeRankings[];
extern const u8 gText_PressingPowerRankings[];
// quest log
extern const u8 gText_QuestLog_PreviouslyOnYourQuest[];
extern const u8 gText_QuestLog_SwitchMon1WithMon2[];
extern const u8 gText_QuestLog_SwappedHeldItemsOnMon[];
extern const u8 gText_QuestLog_TookHeldItemFromMon[];
extern const u8 gText_QuestLog_UsedItemOnMonAtThisLocation[];
extern const u8 gText_QuestLog_UsedTheItem[];
extern const u8 gText_QuestLog_UsedTheKeyItem[];
extern const u8 gText_QuestLog_MonLearnedMoveFromTM[];
extern const u8 gText_QuestLog_MonReplacedMoveWithTM[];
extern const u8 gText_QuestLog_MonsWereFullyRestoredAtCenter[];
extern const u8 gText_QuestLog_PlayerBattledChampionRival[];
extern const u8 gText_QuestLog_PlayerSentOutMon1RivalSentOutMon2[];
extern const u8 gText_QuestLog_WonTheMatchAsAResult[];
extern const u8 gText_QuestLog_StoredItemInPC[];
extern const u8 gText_QuestLog_WithdrewItemFromPC[];
extern const u8 gText_QuestLog_TradedMon1ForPersonsMon2[];
extern const u8 gText_QuestLog_SingleBattleWithPersonResultedInOutcome[];
extern const u8 gText_QuestLog_DoubleBattleWithPersonResultedInOutcome[];
extern const u8 gText_QuestLog_MultiBattleWithPeopleResultedInOutcome[];
extern const u8 gText_QuestLog_Win[];
extern const u8 gText_QuestLog_Loss[];
extern const u8 gText_QuestLog_MingledInUnionRoom[];
extern const u8 gText_QuestLog_DepartedPlaceInTownForNextDestination[];
extern const u8 gText_QuestLog_SwitchedMonsBetweenBoxes[];
extern const u8 gText_QuestLog_MovedMonToNewBox[];
extern const u8 gText_QuestLog_SwitchedMonsWithinBox[];
extern const u8 gText_QuestLog_MovedMonWithinBox[];
extern const u8 gText_QuestLog_SwitchedPartyMonForPCMon[];
extern const u8 gText_QuestLog_WithdrewMonFromPC[];
extern const u8 gText_QuestLog_DepositedMonInPC[];
extern const u8 gText_QuestLog_SwitchedMultipleMons[];
extern const u8 gText_QuestLog_ADifferentSpot[];
extern const u8 gText_QuestLog_GaveMonHeldItemFromPC[];
extern const u8 gText_QuestLog_SwappedHeldItemFromPC[];
extern const u8 gText_QuestLog_ChattedWithManyTrainers[];
extern const u8 gText_QuestLog_Handily[];
extern const u8 gText_QuestLog_Tenaciously[];
extern const u8 gText_QuestLog_Somehow[];
extern const u8 gText_QuestLog_TradedMon1ForTrainersMon2[];
extern const u8 gText_QuestLog_BattledTrainerEndedInOutcome[];
extern const u8 gText_QuestLog_BoughtItem[];
extern const u8 gText_QuestLog_BoughtItemsIncludingItem[];
extern const u8 gText_QuestLog_SoldNumOfItem[];
extern const u8 gText_QuestLog_SoldItemsIncludingItem[];
extern const u8 gText_QuestLog_JustOne[];
extern const u8 gText_QuestLog_Num[];
extern const u8 gText_QuestLog_UsedSoftboiled[];
extern const u8 gText_QuestLog_UsedMilkDrink[];
extern const u8 gText_QuestLog_MonLearnedMoveFromHM[];
extern const u8 gText_QuestLog_MonReplacedMoveWithHM[];
extern const u8 gText_QuestLog_DefeatedWildMon[];
extern const u8 gText_QuestLog_DefeatedWildMons[];
extern const u8 gText_QuestLog_CaughtWildMon[];
extern const u8 gText_QuestLog_CaughtWildMons[];
extern const u8 gText_QuestLog_DefeatedWildMonAndCaughtWildMon[];
extern const u8 gText_QuestLog_DefeatedWildMonAndCaughtWildMons[];
extern const u8 gText_QuestLog_DefeatedWildMonsAndCaughtWildMon[];
extern const u8 gText_QuestLog_DefeatedWildMonsAndCaughtWildMons[];
extern const u8 gText_QuestLog_GaveMonHeldItem[];
extern const u8 gText_QuestLog_GaveMonHeldItem2[];
extern const u8 gText_QuestLog_UsedCut[];
extern const u8 gText_QuestLog_UsedFly[];
extern const u8 gText_QuestLog_UsedSurf[];
extern const u8 gText_QuestLog_UsedStrength[];
extern const u8 gText_QuestLog_UsedFlash[];
extern const u8 gText_QuestLog_UsedRockSmash[];
extern const u8 gText_QuestLog_UsedWaterfall[];
extern const u8 gText_QuestLog_UsedDive[];
extern const u8 gText_QuestLog_UsedDigInLocation[];
extern const u8 gText_QuestLog_UsedSweetScent[];
extern const u8 gText_QuestLog_UsedTeleportToLocation[];
extern const u8 gText_QuestLog_LeftTownsLocationForNextDestination[];
extern const u8 gText_QuestLog_PlayedGamesAtGameCorner[];
extern const u8 gText_QuestLog_RestedAtHome[];
extern const u8 gText_QuestLog_LeftOaksLab[];
extern const u8 gText_QuestLog_GymWasFullOfToughTrainers[];
extern const u8 gText_QuestLog_DepartedGym[];
extern const u8 gText_QuestLog_HadGreatTimeInSafariZone[];
extern const u8 gText_QuestLog_ManagedToGetOutOfLocation[];
extern const u8 gText_QuestLog_TookOnGymLeadersMonWithMonAndWon[];
extern const u8 gText_QuestLog_TookOnEliteFoursMonWithMonAndWon[];
extern const u8 gText_QuestLog_TookOnTrainersMonWithMonAndWon[];
extern const u8 gText_QuestLog_Coolly[];
extern const u8 gText_QuestLog_Barely[];
extern const u8 gText_QuestLog_UsedEscapeRope[];
extern const u8 gText_QuestLog_Draw[];
extern const u8 gText_QuestLog_DepartedTheLocationForNextDestination[];
extern const u8 gText_QuestLog_DepartedFromLocationToNextDestination[];
extern const u8 gText_QuestLog_ObtainedItemInLocation[];
extern const u8 gText_QuestLog_ArrivedInLocation[];
extern const u8 gText_QuestLog_SavedGameAtLocation[];
extern const u8 gText_QuestLog_Home[];
extern const u8 gText_QuestLog_OakResearchLab[];
extern const u8 gText_QuestLog_Gym[];
extern const u8 gText_QuestLog_PokemonLeagueGate[];
extern const u8 gText_QuestLog_ViridianForest[];
extern const u8 gText_QuestLog_PewterMuseumOfScience[];
extern const u8 gText_QuestLog_MtMoon[];
extern const u8 gText_QuestLog_BikeShop[];
extern const u8 gText_QuestLog_BillsHouse[];
extern const u8 gText_QuestLog_DayCare[];
extern const u8 gText_QuestLog_UndergroundPath[];
extern const u8 gText_QuestLog_PokemonFanClub[];
extern const u8 gText_QuestLog_SSAnne[];
extern const u8 gText_QuestLog_DiglettsCave[];
extern const u8 gText_QuestLog_RockTunnel[];
extern const u8 gText_QuestLog_PowerPlant[];
extern const u8 gText_QuestLog_PokemonTower[];
extern const u8 gText_QuestLog_VolunteerHouse[];
extern const u8 gText_QuestLog_NameRatersHouse[];
extern const u8 gText_QuestLog_CeladonDeptStore[];
extern const u8 gText_QuestLog_CeladonMansion[];
extern const u8 gText_QuestLog_RocketGameCorner[];
extern const u8 gText_QuestLog_Restaurant[];
extern const u8 gText_QuestLog_RocketHideout[];
extern const u8 gText_QuestLog_SafariZone[];
extern const u8 gText_QuestLog_WardensHome[];
extern const u8 gText_QuestLog_FightingDojo[];
extern const u8 gText_QuestLog_SilphCo[];
extern const u8 gText_QuestLog_SeafoamIslands[];
extern const u8 gText_QuestLog_PokemonMansion[];
extern const u8 gText_QuestLog_PokemonResearchLab[];
extern const u8 gText_QuestLog_VictoryRoad[];
extern const u8 gText_QuestLog_PokemonLeague[];
extern const u8 gText_QuestLog_CeruleanCave[];
#endif //GUARD_STRINGS_H
+1 -1
View File
@@ -508,7 +508,7 @@ SECTIONS {
src/hall_of_fame.o(.rodata);
src/credits.o(.rodata);
src/diploma.o(.rodata);
data/strings.o(.rodata);
src/strings.o(.rodata);
src/save_failed_screen.o(.rodata);
data/clear_save_data_screen.o(.rodata);
src/evolution_graphics.o(.rodata);
+1 -1
View File
@@ -1027,7 +1027,7 @@ static void CreateNormalContextMenu(u8 taskId)
Menu_InitCursor(windowId, 2, 0, 2, GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT) + 2, sContextMenuNumOptions, 0);
windowId2 = GetOrCreateVariableWindow(6);
CopySelectedListMenuItemName(data[1], gStringVar1);
StringExpandPlaceholders(gStringVar4, gOtherText_StrVar1);
StringExpandPlaceholders(gStringVar4, gText_Var1IsSelected);
BerryPouchPrint(windowId2, 2, gStringVar4, 0, 2, 1, 2, 0, 1);
}
+125
View File
@@ -0,0 +1,125 @@
const u8 gText_QuestLog_PreviouslyOnYourQuest[] = _("Previously on your quest…");
const u8 gText_QuestLog_SwitchMon1WithMon2[] = _("{PLAYER} switched the POKéMON\n{STR_VAR_1} with {STR_VAR_2}.");
const u8 gText_QuestLog_SwappedHeldItemsOnMon[] = _("Took the item {STR_VAR_2} from\n{STR_VAR_1} and gave it the item\n{STR_VAR_3} to hold.");
const u8 gText_QuestLog_TookHeldItemFromMon[] = _("Took the item {STR_VAR_2} from\n{STR_VAR_1}.");
const u8 gText_QuestLog_UsedItemOnMonAtThisLocation[] = _("Used the item {STR_VAR_1} on {STR_VAR_2}\nat this location.");
const u8 gText_QuestLog_UsedTheItem[] = _("{PLAYER} used the\n{STR_VAR_1}.");
const u8 gText_QuestLog_UsedTheKeyItem[] = _("Used the item {STR_VAR_1}, which was\nin the KEY ITEMS POCKET.");
const u8 gText_QuestLog_MonLearnedMoveFromTM[] = _("{STR_VAR_1} learned the move\n{STR_VAR_2} from a TM.");
const u8 gText_QuestLog_MonReplacedMoveWithTM[] = _("{STR_VAR_1} learned the move\n{STR_VAR_2} from a TM and forgot\nthe move {STR_VAR_3}.");
const u8 gText_QuestLog_MonsWereFullyRestoredAtCenter[] = _("POKéMON were fully restored\nat a POKéMON CENTER.");
const u8 gText_QuestLog_PlayerBattledChampionRival[] = _("{DYNAMIC 0x00} had a marvelous battle\nwith the CHAMPION, {DYNAMIC 0x01}.");
const u8 gText_QuestLog_PlayerSentOutMon1RivalSentOutMon2[] = _("In the end, {DYNAMIC 0x00} sent out {DYNAMIC 0x01}\nwhile {DYNAMIC 0x02} countered with\n{DYNAMIC 0x03}.");
const u8 gText_QuestLog_WonTheMatchAsAResult[] = _("And, as a result of battling with every\nbit of power, {DYNAMIC 0x00} won\nthe match.");
const u8 gText_QuestLog_StoredItemInPC[] = _("Removed the item {STR_VAR_1} from\nthe BAG's ITEMS POCKET and stored it\non the PC.");
const u8 gText_QuestLog_WithdrewItemFromPC[] = _("{PLAYER} withdrew the item {STR_VAR_1}\nfrom the PC.");
const u8 gText_QuestLog_TradedMon1ForPersonsMon2[] = _("Traded {STR_VAR_3} in exchange for\n{STR_VAR_1}'s {STR_VAR_2}.");
const u8 gText_QuestLog_SingleBattleWithPersonResultedInOutcome[] = _("Took on {DYNAMIC 0x00} in a SINGLE BATTLE.\nIt was a hotly contested match that\nresulted in a {DYNAMIC 0x01}.");
const u8 gText_QuestLog_DoubleBattleWithPersonResultedInOutcome[] = _("Took on {DYNAMIC 0x00} in a DOUBLE BATTLE.\nIt was an extended match that resulted\nin a {DYNAMIC 0x01}.");
const u8 gText_QuestLog_MultiBattleWithPeopleResultedInOutcome[] = _("{DYNAMIC 0x00} and {DYNAMIC 0x01} took on\n{DYNAMIC 0x02} and {DYNAMIC 0x03} in a\nMULTI BATTLE and got a {DYNAMIC 0x04}.");
const u8 gText_QuestLog_Win[] = _("win");
const u8 gText_QuestLog_Loss[] = _("loss");
const u8 gText_QuestLog_MingledInUnionRoom[] = _("Mingled with other TRAINERS in\nthe UNION ROOM.");
const u8 gText_QuestLog_DepartedPlaceInTownForNextDestination[] = _("Departed {STR_VAR_2}\nin {STR_VAR_1} for the next\ndestination.");
const u8 gText_QuestLog_SwitchedMonsBetweenBoxes[] = _("After consideration, switched\n{DYNAMIC 0x01} in {DYNAMIC 0x00} with\n{DYNAMIC 0x03} in {DYNAMIC 0x02}.");
const u8 gText_QuestLog_MovedMonToNewBox[] = _("After deep thought, switched\n{DYNAMIC 0x01} in BOX “{DYNAMIC 0x00}” to\nthe BOX “{DYNAMIC 0x02}.”");
const u8 gText_QuestLog_SwitchedMonsWithinBox[] = _("Switched around {DYNAMIC 0x01} and\n{DYNAMIC 0x02} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_MovedMonWithinBox[] = _("Moved {DYNAMIC 0x01} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_SwitchedPartyMonForPCMon[] = _("Switched {DYNAMIC 0x01} in {DYNAMIC 0x00}\nwith {DYNAMIC 0x02} in the party.");
const u8 gText_QuestLog_WithdrewMonFromPC[] = _("Added {DYNAMIC 0x01} in {DYNAMIC 0x00}\nto the party.");
const u8 gText_QuestLog_DepositedMonInPC[] = _("Moved {DYNAMIC 0x00} from the party\nto {DYNAMIC 0x01}.");
const u8 gText_QuestLog_SwitchedMultipleMons[] = _("Moved a group of POKéMON in\n{DYNAMIC 0x00} to {DYNAMIC 0x01}.");
const u8 gText_QuestLog_ADifferentSpot[] = _("a different spot");
const u8 gText_QuestLog_GaveMonHeldItemFromPC[] = _("Removed the item {STR_VAR_1} from\n{PLAYER}'s PC and gave it to {STR_VAR_2}\nto hold.");
const u8 gText_QuestLog_SwappedHeldItemFromPC[] = _("Removed the item {STR_VAR_1} from\na PC, gave it to {STR_VAR_2}, and put\nthe {STR_VAR_3} it held in the BAG.");
const u8 gText_QuestLog_ChattedWithManyTrainers[] = _("Chatted with many TRAINERS.");
const u8 gText_QuestLog_Handily[] = _("handily");
const u8 gText_QuestLog_Tenaciously[] = _("tenaciously");
const u8 gText_QuestLog_Somehow[] = _("somehow");
const u8 gText_QuestLog_TradedMon1ForTrainersMon2[] = _("Met and traded with {STR_VAR_1}.\nObtained the TRAINER's {STR_VAR_2} in\nexchange for {STR_VAR_3}.");
const u8 gText_QuestLog_BattledTrainerEndedInOutcome[] = _("Met and battled {STR_VAR_1}.\nThe match ended in a {STR_VAR_2}.");
const u8 gText_QuestLog_BoughtItem[] = _("Went to the POKéMON MART in\n{DYNAMIC 0x00} and bought one \n{DYNAMIC 0x01}.");
const u8 gText_QuestLog_BoughtItemsIncludingItem[] = _("Went to the POKéMON MART in\n{DYNAMIC 0x00} and spent ¥{DYNAMIC 0x02} for\nitems including {DYNAMIC 0x01}(s).");
const u8 gText_QuestLog_SoldNumOfItem[] = _("{DYNAMIC 0x00} went to the POKéMON MART in\n{DYNAMIC 0x01} and sold {DYNAMIC 0x03} of\nthe item {DYNAMIC 0x02}.");
const u8 gText_QuestLog_SoldItemsIncludingItem[] = _("Sold items including {DYNAMIC 0x01} at\nthe POKéMON MART in {DYNAMIC 0x00},\nworth ¥{DYNAMIC 0x02}.");
const u8 gText_QuestLog_JustOne[] = _("just one");
const u8 gText_QuestLog_Num[] = _("{DYNAMIC 0x04}");
const u8 gText_QuestLog_UsedSoftboiled[] = _("{STR_VAR_1} shared its HP using the move\nSOFTBOILED.");
const u8 gText_QuestLog_UsedMilkDrink[] = _("{STR_VAR_1} shared its HP using the move\nMILK DRINK.");
const u8 gText_QuestLog_MonLearnedMoveFromHM[] = _("{STR_VAR_1} securely learned the move\n{STR_VAR_2} using an HM.");
const u8 gText_QuestLog_MonReplacedMoveWithHM[] = _("{STR_VAR_1} securely learned the move\n{STR_VAR_2} using an HM and forgot\nthe move {STR_VAR_3}.");
const u8 gText_QuestLog_DefeatedWildMon[] = _("{DYNAMIC 0x05} managed to defeat the POKéMON\n{DYNAMIC 0x01} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_DefeatedWildMons[] = _("Defeated {DYNAMIC 0x02} wild POKéMON including\n{DYNAMIC 0x01} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_CaughtWildMon[] = _("{DYNAMIC 0x05} managed to catch the POKéMON\n{DYNAMIC 0x03} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_CaughtWildMons[] = _("Threw POKé BALLS in a frenzy, catching\n{DYNAMIC 0x04} POKéMON including {DYNAMIC 0x03} here\nin {DYNAMIC 0x00}.");
const u8 gText_QuestLog_DefeatedWildMonAndCaughtWildMon[] = _("{DYNAMIC 0x05} defeated the POKéMON\n{DYNAMIC 0x01} and caught one {DYNAMIC 0x03}\nin {DYNAMIC 0x00}.");
const u8 gText_QuestLog_DefeatedWildMonAndCaughtWildMons[] = _("Defeated the POKéMON {DYNAMIC 0x01}\nand caught {DYNAMIC 0x04} POKéMON including\n{DYNAMIC 0x03} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_DefeatedWildMonsAndCaughtWildMon[] = _("{DYNAMIC 0x05} defeated {DYNAMIC 0x02} POKéMON including\n{DYNAMIC 0x01} and caught one {DYNAMIC 0x03}\nin {DYNAMIC 0x00}.");
const u8 gText_QuestLog_DefeatedWildMonsAndCaughtWildMons[] = _("Defeated {DYNAMIC 0x02} POKéMON including\n{DYNAMIC 0x01} and caught {DYNAMIC 0x04} POKéMON\nincluding {DYNAMIC 0x03} in {DYNAMIC 0x00}.");
const u8 gText_QuestLog_GaveMonHeldItem[] = _("Made {STR_VAR_1} hold the item\n{STR_VAR_2}.");
const u8 gText_QuestLog_GaveMonHeldItem2[] = _("{PLAYER} made {STR_VAR_1} hold the item\n{STR_VAR_2}.");
const u8 gText_QuestLog_UsedCut[] = _("{STR_VAR_1} used the Hidden Move\nCUT here.");
const u8 gText_QuestLog_UsedFly[] = _("{STR_VAR_1} used the Hidden Move\nFLY and flew to {STR_VAR_2}.");
const u8 gText_QuestLog_UsedSurf[] = _("{STR_VAR_1} used the Hidden Move\nSURF and rode the waves.");
const u8 gText_QuestLog_UsedStrength[] = _("{STR_VAR_1} used the Hidden Move\nSTRENGTH here.");
const u8 gText_QuestLog_UsedFlash[] = _("{STR_VAR_1} used the Hidden Move\nFLASH and illuminated a pitch-black\ncave.");
const u8 gText_QuestLog_UsedRockSmash[] = _("{STR_VAR_1} used the Hidden Move\nROCK SMASH here.");
const u8 gText_QuestLog_UsedWaterfall[] = _("{STR_VAR_1} used the Hidden Move\nWATERFALL to scale a raging torrent."); // Unused
const u8 gText_QuestLog_UsedDive[] = _("{STR_VAR_1}は ふかい ところを めざし\nひでんわざ\nダイビングを つかった!");
const u8 gText_QuestLog_UsedDigInLocation[] = _("{STR_VAR_1} used DIG to escape from\n{STR_VAR_2}.");
const u8 gText_QuestLog_UsedSweetScent[] = _("{STR_VAR_1} used SWEET SCENT to attract\nwild POKéMON.");
const u8 gText_QuestLog_UsedTeleportToLocation[] = _("{STR_VAR_1} used TELEPORT, transporting\nthe party to {STR_VAR_2}'s\n{STR_VAR_3}.");
const u8 gText_QuestLog_LeftTownsLocationForNextDestination[] = _("{PLAYER} left {STR_VAR_1}'s\n{STR_VAR_2} for the next\ndestination.");
const u8 gText_QuestLog_PlayedGamesAtGameCorner[] = _("Played a lot of games at the ROCKET\nGAME CORNER in {STR_VAR_1}.");
const u8 gText_QuestLog_RestedAtHome[] = _("{PLAYER} rested comfortably at home.");
const u8 gText_QuestLog_LeftOaksLab[] = _("{PLAYER} left PROF. OAK's POKéMON\nRESEARCH LAB.");
const u8 gText_QuestLog_GymWasFullOfToughTrainers[] = _("The GYM in {STR_VAR_1} was full of\ntough TRAINERS…\nPreparations had to be made.");
const u8 gText_QuestLog_DepartedGym[] = _("Departed the GYM in {STR_VAR_1}.");
const u8 gText_QuestLog_HadGreatTimeInSafariZone[] = _("{PLAYER} had a great time with POKéMON\nin the SAFARI ZONE.");
const u8 gText_QuestLog_ManagedToGetOutOfLocation[] = _("Managed to get out of {STR_VAR_2}\nafter wandering about.");
const u8 gText_QuestLog_TookOnGymLeadersMonWithMonAndWon[] = _("Took on {DYNAMIC 0x00} GYM LEADER\n{DYNAMIC 0x01}'s {DYNAMIC 0x02} with {DYNAMIC 0x03}\nand won {DYNAMIC 0x04}!");
const u8 gText_QuestLog_TookOnEliteFoursMonWithMonAndWon[] = _("Took on ELITE FOUR {DYNAMIC 0x00}'s\n{DYNAMIC 0x01} with {DYNAMIC 0x02} and\nwon {DYNAMIC 0x03}!");
const u8 gText_QuestLog_TookOnTrainersMonWithMonAndWon[] = _("In {DYNAMIC 0x00}, took on\n{DYNAMIC 0x01}'s {DYNAMIC 0x02} with {DYNAMIC 0x03}\nand won {DYNAMIC 0x04}!");
const u8 gText_QuestLog_Coolly[] = _("coolly");
const u8 gText_QuestLog_Barely[] = _("barely");
const u8 gText_QuestLog_UsedEscapeRope[] = _("{PLAYER} used an ESCAPE ROPE to get\nout from {STR_VAR_2}.");
const u8 gText_QuestLog_Draw[] = _("draw");
const u8 gText_QuestLog_DepartedTheLocationForNextDestination[] = _("Departed from the {STR_VAR_2}\nfor the next destination.");
const u8 gText_QuestLog_DepartedFromLocationToNextDestination[] = _("{PLAYER} departed from\n{STR_VAR_2} and made way\nto the next destination.");
const u8 gText_QuestLog_ObtainedItemInLocation[] = _("Here in {STR_VAR_1}, {PLAYER}\nobtained the item {STR_VAR_2}.");
const u8 gText_QuestLog_ArrivedInLocation[] = _("Arrived in {STR_VAR_1}.");
const u8 gText_QuestLog_SavedGameAtLocation[] = _("And {PLAYER} saved the game at this\nlocation: {STR_VAR_1}.");
const u8 gText_QuestLog_Home[] = _("HOME");
const u8 gText_QuestLog_OakResearchLab[] = _("OAK RESEARCH LAB");
const u8 gText_QuestLog_Gym[] = _("GYM");
const u8 gText_QuestLog_PokemonLeagueGate[] = _("POKéMON LEAGUE GATE");
const u8 gText_QuestLog_ViridianForest[] = _("VIRIDIAN FOREST");
const u8 gText_QuestLog_PewterMuseumOfScience[] = _("PEWTER MUSEUM OF SCIENCE");
const u8 gText_QuestLog_MtMoon[] = _("MT. MOON");
const u8 gText_QuestLog_BikeShop[] = _("BIKE SHOP");
const u8 gText_QuestLog_BillsHouse[] = _("BILL'S HOUSE");
const u8 gText_QuestLog_DayCare[] = _("DAY CARE");
const u8 gText_QuestLog_UndergroundPath[] = _("UNDERGROUND PATH");
const u8 gText_QuestLog_PokemonFanClub[] = _("POKéMON FAN CLUB");
const u8 gText_QuestLog_SSAnne[] = _("S.S. ANNE");
const u8 gText_QuestLog_DiglettsCave[] = _("DIGLETT'S CAVE");
const u8 gText_QuestLog_RockTunnel[] = _("ROCK TUNNEL");
const u8 gText_QuestLog_PowerPlant[] = _("POWER PLANT");
const u8 gText_QuestLog_PokemonTower[] = _("POKéMON TOWER");
const u8 gText_QuestLog_VolunteerHouse[] = _("VOLUNTEER HOUSE");
const u8 gText_QuestLog_NameRatersHouse[] = _("NAME RATER'S HOUSE");
const u8 gText_QuestLog_CeladonDeptStore[] = _("CELADON DEPT. STORE");
const u8 gText_QuestLog_CeladonMansion[] = _("CELADON MANSION");
const u8 gText_QuestLog_RocketGameCorner[] = _("ROCKET GAME CORNER");
const u8 gText_QuestLog_Restaurant[] = _("RESTAURANT");
const u8 gText_QuestLog_RocketHideout[] = _("ROCKET HIDEOUT");
const u8 gText_QuestLog_SafariZone[] = _("SAFARI ZONE");
const u8 gText_QuestLog_WardensHome[] = _("WARDEN'S HOME");
const u8 gText_QuestLog_FightingDojo[] = _("FIGHTING DOJO");
const u8 gText_QuestLog_SilphCo[] = _("SILPH CO.");
const u8 gText_QuestLog_SeafoamIslands[] = _("SEAFOAM ISLANDS");
const u8 gText_QuestLog_PokemonMansion[] = _("POKéMON MANSION");
const u8 gText_QuestLog_PokemonResearchLab[] = _("POKéMON RESEARCH LAB");
const u8 gText_QuestLog_VictoryRoad[] = _("VICTORY ROAD");
const u8 gText_QuestLog_PokemonLeague[] = _("POKéMON LEAGUE");
const u8 gText_QuestLog_CeruleanCave[] = _("CERULEAN CAVE");
+198
View File
@@ -0,0 +1,198 @@
const u8 gTeachyTvString_TeachBattle[] = _("Teach me how to battle.");
const u8 gTeachyTvString_StatusProblems[] = _("What are status problems?");
const u8 gTeachyTvString_TypeMatchups[] = _("What are type matchups?");
const u8 gTeachyTvString_CatchPkmn[] = _("I want to catch POKéMON.");
const u8 gTeachyTvString_AboutTMs[] = _("Teach me about TMs.");
const u8 gTeachyTvString_RegisterItem[] = _("How do I register an item?");
const u8 gTeachyTvString_Cancel[] = _("CANCEL");
const u8 gTeachyTvText_PokedudeSaysHello[] = _(
"Hey, all you TRAINERS out there!\n"
"HELLO, TRAINERS!\p"
"……… ……… ………\p"
"Come on, let me hear you!\n"
"HELLO, TRAINERS!\l"
"It's me, the POKé DUDE!\p");
const u8 gTeachyTvText_BattleScript1[] = _(
"Today, the POKé DUDE's here to\n"
"tell you about how you can battle\l"
"POKéMON!\p"
"Say you're out for a stroll when,\n"
"suddenly, a wild POKéMON appears!\p"
"It's up to you to smartly use your\n"
"POKéMON and their moves to reduce\l"
"the opponent's HP to nothing, and\l"
"claim victory!\p"
"I'll show you how to do that in\n"
"person and for sure!\p"
"All righty, here goes!\p"
"Keep your eyes glued to the super\n"
"POKé DUDE SHOW!");
const u8 gTeachyTvText_BattleScript2[] = _(
"Well, did you get that?\p"
"Even if your own POKéMON's HP\n"
"falls to zero, and it becomes\l"
"unable to battle, not to worry!\p"
"Just take it to any POKéMON\n"
"CENTER and heal it!\p"
"All righty, be seeing you!\p"
"Remember, TRAINERS, a good deed\n"
"a day brings happiness to stay!");
const u8 gTeachyTvText_StatusScript1[] = _(
"Today, the POKé DUDE's here to\n"
"tell you about status problems!\p"
"Status problems include poisoning,\n"
"paralysis, sleep, burn…\p"
"There are a couple others, but\n"
"they really are trouble.\p"
"Get any one, and your POKéMON\n"
"may become useless in battle.\p"
"You know, it hurts the POKé DUDE\n"
"to see a POKéMON suffer…\p"
"So, what should you do if your\n"
"POKéMON gets a status problem?\p"
"Well, you've got me to show you!\p"
"All righty, here goes!\p"
"Keep your eyes glued to the super\n"
"POKé DUDE SHOW!");
const u8 gTeachyTvText_StatusScript2[] = _(
"Poisoning or paralysis don't go\n"
"away after a battle.\p"
"If a POKéMON is poisoned, it loses\n"
"HP even while you're walking.\p"
"You should heal POKéMON of these\n"
"kinds of problems right away.\p"
"Use an item, or try to get to a\n"
"POKéMON CENTER for healing.\p"
"That wasn't hard, was it?\n"
"All righty, be seeing you!\p"
"Remember, TRAINERS, a good deed\n"
"a day brings happiness to stay!");
const u8 gTeachyTvText_MatchupsScript1[] = _(
"Does everyone know about type\n"
"matchups?\p"
"POKéMON and their moves all\n"
"belong to certain types.\p"
"For example, there are such types\n"
"as GRASS and WATER.\p"
"You need to consider the type of\n"
"the move used to attack…\p"
"And, the type of the POKéMON that\n"
"is hit by that attack.\p"
"Depending on how those two types\n"
"match up, the damage can change.\p"
"You see, it depends on whether\n"
"the type matchup is good or bad.\p"
"If you don't know how matchups\n"
"work, battles will be tough.\p"
"So, let me demonstrate exactly\n"
"what I mean.\p"
"All righty, here goes!\p"
"Keep your eyes glued to the super\n"
"POKé DUDE SHOW!");
const u8 gTeachyTvText_MatchupsScript2[] = _(
"Is it possible to launch an attack\n"
"that will inflict heavy damage?\p"
"Does the opposing POKéMON pose\n"
"a threat to your POKéMON?\p"
"Is there any chance that it may\n"
"have disastrously tough moves?\p"
"Watch the type matchups to gain\n"
"the upper hand!\p"
"All righty, be seeing you!\p"
"Oh, for the COOL-type POKé DUDE,\n"
"AWESOME-type kids like you match\l"
"up perfectly!\p"
"Remember, a good deed a day\n"
"brings happiness to stay!");
const u8 gTeachyTvText_CatchingScript1[] = _(
"Today, the POKé DUDE's going to\n"
"show you how to catch POKéMON!\p"
"Just imagine… A groovy POKéMON\n"
"suddenly appearing in the wild!\p"
"Oh, you want it!\n"
"You just can't help it!\p"
"Oh, you have to catch it!\n"
"You gotta have it!\p"
"Let me show you how you can make\n"
"it happen!\p"
"All righty, here goes!\p"
"Keep your eyes glued to the super\n"
"POKé DUDE SHOW!");
const u8 gTeachyTvText_CatchingScript2[] = _(
"If your first POKé BALL fails to\n"
"catch the POKéMON, don't give up!\p"
"Keep throwing POKé BALLS…\n"
"It's bound to work sometime!\p"
"All righty, be seeing you!\p"
"Remember, TRAINERS, a good deed\n"
"a day brings happiness to stay!");
const u8 gTeachyTvText_TMsScript1[] = _(
"Hey, everyone!\n"
"Do you all have TMs?\p"
"A TM, Technical Machine, is an\n"
"amazingly great item!\p"
"It teaches POKéMON a move that\n"
"it may not learn when leveling up!\p"
"Isn't that just great? What a\n"
"convenient world we live in!\p"
"Open the TM CASE and check out\n"
"the TMs you have.\p"
"You can check them out in detail,\n"
"too.");
const u8 gPokedudeText_TMTypes[] = _(
"POKé DUDE: NORMAL, WATER, GRASS…\n"
"TMs also come in types.\p"
"Check the type and teach it to\n"
"a POKéMON that matches up well.\p"
"For example, WATER PULSE is\n"
"suitable for WATER-type POKéMON.\p"
"BULLET SEED is a move that most\n"
"GRASS-type POKéMON can learn.\p"
"There's one other thing!");
const u8 gPokedudeText_ReadTMDescription[] = _(
"Don't just look at the type, read\n"
"the description, too.\p"
"It will contain hints about what\n"
"POKéMON might learn the move.\p"
"For example, take a move like\n"
"FOCUS PUNCH.\p"
"It doesn't sound like anything a\n"
"bird or fish POKéMON can learn.\p"
"So, try using it on POKéMON with\n"
"arms that can throw punches!");
const u8 gTeachyTvText_TMsScript2[] = _(
"Wow, I talked a lot today!\n"
"All righty, be seeing you!\p"
"Remember, TRAINERS, a good deed\n"
"a day brings happiness to stay!");
const u8 gTeachyTvText_RegisterScript1[] = _(
"A TRAINER's BAG has a bunch of\n"
"nifty, convenient features!\p"
"Take stuff in the KEY ITEMS\n"
"POCKET, for instance.\p"
"You can use a key item without\n"
"opening the BAG every time.\p"
"For example, let's pretend I have\n"
"a TEACHY TV in my BAG.\p"
"I can register it for instant use,\n"
"and I'll show you how!\p"
"All righty, here goes!\p"
"Keep your eyes glued to the sorta\n"
"super POKé DUDE SHOW!");
const u8 gTeachyTvText_RegisterScript2[] = _(
"And now, your TEACHY TV is\n"
"registered.\p"
"How do you use it?\n"
"Well, here's how it works.\p"
"Once an item in the KEY ITEMS\n"
"POKCET is registered, you can use\l"
"it by pressing SELECT.\p"
"So, you've given yourself\n"
"one-touch access to TEACHY TV.\p"
"All it takes for you to see me is\n"
"pressing one button!\p"
"That kind of attention is a little\n"
"embarrassing!\p"
"All righty, be seeing you!\p"
"Remember, TRAINERS, a good deed\n"
"a day brings happiness to stay!");
+1 -1
View File
@@ -1434,7 +1434,7 @@ static void OpenContextMenu(u8 taskId)
Menu_InitCursor(r6, 2, 0, 2, GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT) + 2, sContextMenuNumItems, 0);
r4 = ShowBagWindow(6, 0);
CopyItemName(gSpecialVar_ItemId, gStringVar1);
StringExpandPlaceholders(gStringVar4, gOtherText_StrVar1);
StringExpandPlaceholders(gStringVar4, gText_Var1IsSelected);
BagPrintTextOnWindow(r4, 2, gStringVar4, 0, 2, 1, 0, 0, 1);
}
+1 -1
View File
@@ -848,7 +848,7 @@ static void Task_ItemPcSubmenuInit(u8 taskId)
PrintTextArray(4, 2, 8, 2, GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT) + 2, 3, sItemPcSubmenuOptions);
Menu_InitCursor(4, 2, 0, 2, GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT) + 2, 3, 0);
CopyItemName(ItemPc_GetItemIdBySlotId(data[1]), gStringVar1);
StringExpandPlaceholders(gStringVar4, gOtherText_StrVar1);
StringExpandPlaceholders(gStringVar4, gText_Var1IsSelected);
ItemPc_AddTextPrinterParameterized(windowId, 2, gStringVar4, 0, 2, 1, 0, 0, 1);
ScheduleBgCopyTilemapToVram(0);
gTasks[taskId].func = Task_ItemPcSubmenuRun;
+144 -271
View File
@@ -281,133 +281,6 @@ static bool8 sub_81153A8(u16, const u16 *);
static bool8 sub_81153E4(u16, const u16 *);
static void BufferLinkPartnersName(u8 *);
extern const u8 QuestLog_Text_PreviouslyOnYourQuest[];
extern const u8 QuestLog_Text_SwitchMon1WithMon2[];
extern const u8 QuestLog_Text_SwappedHeldItemsOnMon[];
extern const u8 QuestLog_Text_TookHeldItemFromMon[];
extern const u8 QuestLog_Text_UsedItemOnMonAtThisLocation[];
extern const u8 QuestLog_Text_UsedTheItem[];
extern const u8 QuestLog_Text_UsedTheKeyItem[];
extern const u8 QuestLog_Text_MonLearnedMoveFromTM[];
extern const u8 QuestLog_Text_MonReplacedMoveWithTM[];
extern const u8 QuestLog_Text_MonsWereFullyRestoredAtCenter[];
extern const u8 QuestLog_Text_PlayerBattledChampionRival[];
extern const u8 QuestLog_Text_PlayerSentOutMon1RivalSentOutMon2[];
extern const u8 QuestLog_Text_WonTheMatchAsAResult[];
extern const u8 QuestLog_Text_StoredItemInPC[];
extern const u8 QuestLog_Text_WithdrewItemFromPC[];
extern const u8 QuestLog_Text_TradedMon1ForPersonsMon2[];
extern const u8 QuestLog_Text_SingleBattleWithPersonResultedInOutcome[];
extern const u8 QuestLog_Text_DoubleBattleWithPersonResultedInOutcome[];
extern const u8 QuestLog_Text_MultiBattleWithPeopleResultedInOutcome[];
extern const u8 QuestLog_Text_Win[];
extern const u8 QuestLog_Text_Loss[];
extern const u8 QuestLog_Text_MingledInUnionRoom[];
extern const u8 QuestLog_Text_DepartedPlaceInTownForNextDestination[];
extern const u8 QuestLog_Text_SwitchedMonsBetweenBoxes[];
extern const u8 QuestLog_Text_MovedMonToNewBox[];
extern const u8 QuestLog_Text_SwitchedMonsWithinBox[];
extern const u8 QuestLog_Text_MovedMonWithinBox[];
extern const u8 QuestLog_Text_SwitchedPartyMonForPCMon[];
extern const u8 QuestLog_Text_WithdrewMonFromPC[];
extern const u8 QuestLog_Text_DepositedMonInPC[];
extern const u8 QuestLog_Text_SwitchedMultipleMons[];
extern const u8 QuestLog_Text_ADifferentSpot[];
extern const u8 QuestLog_Text_GaveMonHeldItemFromPC[];
extern const u8 QuestLog_Text_SwappedHeldItemFromPC[];
extern const u8 QuestLog_Text_ChattedWithManyTrainers[];
extern const u8 QuestLog_Text_Handily[];
extern const u8 QuestLog_Text_Tenaciously[];
extern const u8 QuestLog_Text_Somehow[];
extern const u8 QuestLog_Text_TradedMon1ForTrainersMon2[];
extern const u8 QuestLog_Text_BattledTrainerEndedInOutcome[];
extern const u8 QuestLog_Text_BoughtItem[];
extern const u8 QuestLog_Text_BoughtItemsIncludingItem[];
extern const u8 QuestLog_Text_SoldNumOfItem[];
extern const u8 QuestLog_Text_SoldItemsIncludingItem[];
extern const u8 QuestLog_Text_JustOne[];
extern const u8 QuestLog_Text_Num[];
extern const u8 QuestLog_Text_UsedSoftboiled[];
extern const u8 QuestLog_Text_UsedMilkDrink[];
extern const u8 QuestLog_Text_MonLearnedMoveFromHM[];
extern const u8 QuestLog_Text_MonReplacedMoveWithHM[];
extern const u8 QuestLog_Text_DefeatedWildMon[];
extern const u8 QuestLog_Text_DefeatedWildMons[];
extern const u8 QuestLog_Text_CaughtWildMon[];
extern const u8 QuestLog_Text_CaughtWildMons[];
extern const u8 QuestLog_Text_DefeatedWildMonAndCaughtWildMon[];
extern const u8 QuestLog_Text_DefeatedWildMonAndCaughtWildMons[];
extern const u8 QuestLog_Text_DefeatedWildMonsAndCaughtWildMon[];
extern const u8 QuestLog_Text_DefeatedWildMonsAndCaughtWildMons[];
extern const u8 QuestLog_Text_GaveMonHeldItem[];
extern const u8 QuestLog_Text_GaveMonHeldItem2[];
extern const u8 QuestLog_Text_UsedCut[];
extern const u8 QuestLog_Text_UsedFly[];
extern const u8 QuestLog_Text_UsedSurf[];
extern const u8 QuestLog_Text_UsedStrength[];
extern const u8 QuestLog_Text_UsedFlash[];
extern const u8 QuestLog_Text_UsedRockSmash[];
extern const u8 QuestLog_Text_UsedWaterfall[];
extern const u8 QuestLog_Text_UsedDive[];
extern const u8 QuestLog_Text_UsedDigInLocation[];
extern const u8 QuestLog_Text_UsedSweetScent[];
extern const u8 QuestLog_Text_UsedTeleportToLocation[];
extern const u8 QuestLog_Text_LeftTownsLocationForNextDestination[];
extern const u8 QuestLog_Text_PlayedGamesAtGameCorner[];
extern const u8 QuestLog_Text_RestedAtHome[];
extern const u8 QuestLog_Text_LeftOaksLab[];
extern const u8 QuestLog_Text_GymWasFullOfToughTrainers[];
extern const u8 QuestLog_Text_DepartedGym[];
extern const u8 QuestLog_Text_HadGreatTimeInSafariZone[];
extern const u8 QuestLog_Text_ManagedToGetOutOfLocation[];
extern const u8 QuestLog_Text_TookOnGymLeadersMonWithMonAndWon[];
extern const u8 QuestLog_Text_TookOnEliteFoursMonWithMonAndWon[];
extern const u8 QuestLog_Text_TookOnTrainersMonWithMonAndWon[];
extern const u8 QuestLog_Text_Coolly[];
extern const u8 QuestLog_Text_Barely[];
extern const u8 QuestLog_Text_UsedEscapeRope[];
extern const u8 QuestLog_Text_Draw[];
extern const u8 QuestLog_Text_DepartedTheLocationForNextDestination[];
extern const u8 QuestLog_Text_DepartedFromLocationToNextDestination[];
extern const u8 QuestLog_Text_ObtainedItemInLocation[];
extern const u8 QuestLog_Text_ArrivedInLocation[];
extern const u8 QuestLog_Text_SavedGameAtLocation[];
extern const u8 QuestLog_Text_Home[];
extern const u8 QuestLog_Text_OakResearchLab[];
extern const u8 QuestLog_Text_Gym[];
extern const u8 QuestLog_Text_PokemonLeagueGate[];
extern const u8 QuestLog_Text_ViridianForest[];
extern const u8 QuestLog_Text_PewterMuseumOfScience[];
extern const u8 QuestLog_Text_MtMoon[];
extern const u8 QuestLog_Text_BikeShop[];
extern const u8 QuestLog_Text_BillsHouse[];
extern const u8 QuestLog_Text_DayCare[];
extern const u8 QuestLog_Text_UndergroundPath[];
extern const u8 QuestLog_Text_PokemonFanClub[];
extern const u8 QuestLog_Text_SSAnne[];
extern const u8 QuestLog_Text_DiglettsCave[];
extern const u8 QuestLog_Text_RockTunnel[];
extern const u8 QuestLog_Text_PowerPlant[];
extern const u8 QuestLog_Text_PokemonTower[];
extern const u8 QuestLog_Text_VolunteerHouse[];
extern const u8 QuestLog_Text_NameRatersHouse[];
extern const u8 QuestLog_Text_CeladonDeptStore[];
extern const u8 QuestLog_Text_CeladonMansion[];
extern const u8 QuestLog_Text_RocketGameCorner[];
extern const u8 QuestLog_Text_Restaurant[];
extern const u8 QuestLog_Text_RocketHideout[];
extern const u8 QuestLog_Text_SafariZone[];
extern const u8 QuestLog_Text_WardensHome[];
extern const u8 QuestLog_Text_FightingDojo[];
extern const u8 QuestLog_Text_SilphCo[];
extern const u8 QuestLog_Text_SeafoamIslands[];
extern const u8 QuestLog_Text_PokemonMansion[];
extern const u8 QuestLog_Text_PokemonResearchLab[];
extern const u8 QuestLog_Text_VictoryRoad[];
extern const u8 QuestLog_Text_PokemonLeague[];
extern const u8 QuestLog_Text_CeruleanCave[];
static const struct WindowTemplate gUnknown_845661C[3] = {
{ 0, 0, 0, 30, 2, 15, 0x0e9 },
{ 0, 0, 18, 30, 2, 15, 0x0ad },
@@ -751,7 +624,7 @@ void DrawPreviouslyOnQuestHeader(u8 sceneNum)
FillWindowPixelRect(gUnknown_203ADFE[i], 15, 0, 0, gUnknown_845661C[i].width * 8, gUnknown_845661C[i].height * 8);
}
StringExpandPlaceholders(gStringVar4, QuestLog_Text_PreviouslyOnYourQuest);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_PreviouslyOnYourQuest);
// Scene numbers count from 4 to 0, 0 being where the player saved
if (sceneNum != 0)
@@ -1370,7 +1243,7 @@ static void Task_QuestLogScene_SavedGame(u8 taskId)
if (gUnknown_203AE94.unk_0_6 != 1)
{
GetMapNameGeneric(gStringVar1, gMapHeader.regionMapSectionId);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_SavedGameAtLocation);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_SavedGameAtLocation);
DrawQuestLogSceneDescription();
}
task->data[0] = 0;
@@ -3170,7 +3043,7 @@ static const u16 *BufferQuestLogText_SwitchedPartyOrder(const u16 *eventData)
const u16 *r4 = sub_8113E88(QL_EVENT_SWITCHED_PARTY_ORDER, eventData);
QuestLog_GetSpeciesName(r4[0], gStringVar1, 0);
QuestLog_GetSpeciesName(r4[1], gStringVar2, 0);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_SwitchMon1WithMon2);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_SwitchMon1WithMon2);
r4 += 2;
return r4;
}
@@ -3204,21 +3077,21 @@ static const u16 *BufferQuestLogText_UsedItem(const u16 *eventData)
if (r5[0] == ITEM_ESCAPE_ROPE)
{
GetMapNameGeneric(gStringVar2, (u8)r5[2]);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_UsedEscapeRope);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_UsedEscapeRope);
}
else if (r5[1] != 0xFFFF)
{
QuestLog_GetSpeciesName(r5[1], gStringVar2, 0);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_UsedItemOnMonAtThisLocation);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_UsedItemOnMonAtThisLocation);
}
else
{
StringExpandPlaceholders(gStringVar4, QuestLog_Text_UsedTheItem);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_UsedTheItem);
}
break;
case POCKET_KEY_ITEMS:
StringCopy(gStringVar1, ItemId_GetName(r5[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_UsedTheKeyItem);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_UsedTheKeyItem);
break;
case POCKET_TM_CASE:
QuestLog_GetSpeciesName(r5[1], gStringVar1, 0);
@@ -3227,16 +3100,16 @@ static const u16 *BufferQuestLogText_UsedItem(const u16 *eventData)
{
StringCopy(gStringVar3, gMoveNames[r5[2]]);
if (r5[0] > ITEM_TM50)
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MonReplacedMoveWithHM);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MonReplacedMoveWithHM);
else
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MonReplacedMoveWithTM);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MonReplacedMoveWithTM);
}
else
{
if (r5[0] > ITEM_TM50)
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MonLearnedMoveFromHM);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MonLearnedMoveFromHM);
else
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MonLearnedMoveFromTM);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MonLearnedMoveFromTM);
}
break;
}
@@ -3264,7 +3137,7 @@ static const u16 *BufferQuestLogText_GaveHeldItemFromPartyMenu(const u16 *eventD
const u16 *r4 = sub_8113E88(QL_EVENT_GAVE_HELD_ITEM, eventData);
QuestLog_GetSpeciesName(r4[1], gStringVar1, 0);
StringCopy(gStringVar2, ItemId_GetName(r4[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_GaveMonHeldItem);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_GaveMonHeldItem);
r4 += 2;
return r4;
}
@@ -3279,7 +3152,7 @@ static const u16 *BufferQuestLogText_GaveHeldItemFromBagMenu(const u16 *eventDat
const u16 *r4 = sub_8113E88(QL_EVENT_GAVE_HELD_ITEM_BAG, eventData);
QuestLog_GetSpeciesName(r4[1], gStringVar1, 0);
StringCopy(gStringVar2, ItemId_GetName(r4[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_GaveMonHeldItem2);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_GaveMonHeldItem2);
r4 += 2;
return r4;
}
@@ -3295,7 +3168,7 @@ static const u16 *BufferQuestLogText_GaveHeldItemFromPC(const u16 *eventData)
QuestLog_GetSpeciesName(r4[1], gStringVar2, 0);
StringCopy(gStringVar1, ItemId_GetName(r4[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_GaveMonHeldItemFromPC);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_GaveMonHeldItemFromPC);
r4 += 2;
return r4;
}
@@ -3311,7 +3184,7 @@ static const u16 *BufferQuestLogText_TookHeldItem(const u16 *eventData)
QuestLog_GetSpeciesName(r4[1], gStringVar1, 0);
StringCopy(gStringVar2, ItemId_GetName(r4[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_TookHeldItemFromMon);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_TookHeldItemFromMon);
r4 += 2;
return r4;
}
@@ -3339,7 +3212,7 @@ static const u16 *BufferQuestLogText_SwappedHeldItem(const u16 *eventData)
QuestLog_GetSpeciesName(r4[2], gStringVar1, 0);
StringCopy(gStringVar2, ItemId_GetName(r4[0])); // Item taken
StringCopy(gStringVar3, ItemId_GetName(r4[1])); // Item given
StringExpandPlaceholders(gStringVar4, QuestLog_Text_SwappedHeldItemsOnMon);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_SwappedHeldItemsOnMon);
r4 += 3;
return r4;
}
@@ -3355,7 +3228,7 @@ static const u16 *BufferQuestLogText_SwappedHeldItemFromPC(const u16 *eventData)
QuestLog_GetSpeciesName(r4[2], gStringVar2, 0);
StringCopy(gStringVar3, ItemId_GetName(r4[0]));
StringCopy(gStringVar1, ItemId_GetName(r4[1]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_SwappedHeldItemFromPC);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_SwappedHeldItemFromPC);
r4 += 3;
return r4;
}
@@ -3376,7 +3249,7 @@ static u16 *BufferQuestLogData_UsedPkmnCenter(u16 *a0, const u16 *eventData)
static const u16 *BufferQuestLogText_UsedPkmnCenter(const u16 *a0)
{
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MonsWereFullyRestoredAtCenter);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MonsWereFullyRestoredAtCenter);
a0 += 2;
return a0;
}
@@ -3405,27 +3278,27 @@ static const u16 *BufferQuestLogText_LinkTraded(const u16 *a0)
BufferLinkPartnersName(gStringVar1);
QuestLog_GetSpeciesName(a0[3], gStringVar2, 0); // Mon received
QuestLog_GetSpeciesName(a0[2], gStringVar3, 0); // Mon sent
StringExpandPlaceholders(gStringVar4, QuestLog_Text_TradedMon1ForPersonsMon2);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_TradedMon1ForPersonsMon2);
r6 += 4;
return r6;
}
static const u8 *const sDefeatedOpponentFlavorTexts[] = {
QuestLog_Text_Handily,
QuestLog_Text_Tenaciously,
QuestLog_Text_Somehow
gText_QuestLog_Handily,
gText_QuestLog_Tenaciously,
gText_QuestLog_Somehow
};
static const u8 *const sDefeatedChampionFlavorTexts[] = {
QuestLog_Text_Coolly,
QuestLog_Text_Somehow,
QuestLog_Text_Barely
gText_QuestLog_Coolly,
gText_QuestLog_Somehow,
gText_QuestLog_Barely
};
static const u8 *const sBattleOutcomeTexts[] = {
QuestLog_Text_Win,
QuestLog_Text_Loss,
QuestLog_Text_Draw
gText_QuestLog_Win,
gText_QuestLog_Loss,
gText_QuestLog_Draw
};
static u16 *BufferQuestLogData_LinkBattledSingle(u16 *a0, const u16 *eventData)
@@ -3447,7 +3320,7 @@ static const u16 *BufferQuestLogText_LinkBattledSingle(const u16 *a0)
BufferLinkPartnersName(gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, sBattleOutcomeTexts[((const u8 *)a0)[4]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SingleBattleWithPersonResultedInOutcome);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SingleBattleWithPersonResultedInOutcome);
a0 += 6;
return a0;
}
@@ -3471,7 +3344,7 @@ static const u16 *BufferQuestLogText_LinkBattledDouble(const u16 *a0)
BufferLinkPartnersName(gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, sBattleOutcomeTexts[((const u8 *)a0)[4]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DoubleBattleWithPersonResultedInOutcome);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DoubleBattleWithPersonResultedInOutcome);
a0 += 6;
return a0;
}
@@ -3506,7 +3379,7 @@ static const u16 *BufferQuestLogText_LinkBattledMulti(const u16 *a0)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, gStringVar2); // opponent 1
DynamicPlaceholderTextUtil_SetPlaceholderPtr(3, gStringVar3); // opponent 2
DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, sBattleOutcomeTexts[((const u8 *)a0)[4]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_MultiBattleWithPeopleResultedInOutcome);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_MultiBattleWithPeopleResultedInOutcome);
a0 += 13;
return a0;
}
@@ -3520,7 +3393,7 @@ static u16 *BufferQuestLogData_UsedUnionRoom(u16 *a0, const u16 *eventData)
static const u16 *BufferQuestLogText_UsedUnionRoom(const u16 *a0)
{
StringExpandPlaceholders(gStringVar4, QuestLog_Text_MingledInUnionRoom);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_MingledInUnionRoom);
a0 += 2;
return a0;
}
@@ -3534,7 +3407,7 @@ static u16 *BufferQuestLogData_UsedUnionRoomChat(u16 *a0, const u16 *eventData)
static const u16 *BufferQuestLogText_UsedUnionRoomChat(const u16 *a0)
{
StringExpandPlaceholders(gStringVar4, QuestLog_Text_ChattedWithManyTrainers);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_ChattedWithManyTrainers);
a0 += 2;
return a0;
}
@@ -3559,7 +3432,7 @@ static const u16 *BufferQuestLogText_LinkTradedUnionRoom(const u16 *a0)
BufferLinkPartnersName(gStringVar1);
QuestLog_GetSpeciesName(a0[3], gStringVar2, 0);
QuestLog_GetSpeciesName(a0[2], gStringVar3, 0);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_TradedMon1ForTrainersMon2);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_TradedMon1ForTrainersMon2);
r6 += 8;
return (const u16 *)r6;
}
@@ -3580,7 +3453,7 @@ static const u16 *BufferQuestLogText_LinkBattledUnionRoom(const u16 *a0)
memcpy(gStringVar1, (const u8 *)a0 + 5, PLAYER_NAME_LENGTH);
BufferLinkPartnersName(gStringVar1);
StringCopy(gStringVar2, sBattleOutcomeTexts[*(const u8 *)&a0[2]]);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_BattledTrainerEndedInOutcome);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_BattledTrainerEndedInOutcome);
a0 += 6;
return a0;
}
@@ -3607,7 +3480,7 @@ static const u16 *BufferQuestLogText_SwitchedMonsBetweenBoxes(const u16 *eventDa
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, GetBoxNamePtr(boxIdxs[1]));
QuestLog_GetSpeciesName(eventData[1], NULL, 3);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SwitchedMonsBetweenBoxes);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SwitchedMonsBetweenBoxes);
return eventData + 3;
}
@@ -3631,7 +3504,7 @@ static const u16 *BufferQuestLogText_SwitchedMonsWithinBox(const u16 *eventData)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(boxIdxs[0]));
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
QuestLog_GetSpeciesName(eventData[1], NULL, 2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SwitchedMonsWithinBox);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SwitchedMonsWithinBox);
return eventData + 3;
}
@@ -3667,7 +3540,7 @@ static const u16 *BufferQuestLogText_SwitchedPartyMonForPCMon(const u16 *eventDa
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(boxIdxs[0]));
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
QuestLog_GetSpeciesName(eventData[1], NULL, 2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SwitchedPartyMonForPCMon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SwitchedPartyMonForPCMon);
return eventData + 3;
}
@@ -3694,7 +3567,7 @@ static const u16 *BufferQuestLogText_MovedMonBetweenBoxes(const u16 *eventData)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(boxIdxs[0]));
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, GetBoxNamePtr(boxIdxs[1]));
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_MovedMonToNewBox);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_MovedMonToNewBox);
return (const u16 *)boxIdxs + 1;
}
@@ -3717,7 +3590,7 @@ static const u16 *BufferQuestLogText_MovedMonWithinBox(const u16 *eventData)
DynamicPlaceholderTextUtil_Reset();
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(boxIdxs[0]));
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_MovedMonWithinBox);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_MovedMonWithinBox);
return (const u16 *)boxIdxs + 1;
}
@@ -3740,7 +3613,7 @@ static const u16 *BufferQuestLogText_WithdrewMonFromPC(const u16 *eventData)
DynamicPlaceholderTextUtil_Reset();
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(boxIdxs[0]));
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_WithdrewMonFromPC);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_WithdrewMonFromPC);
return (const u16 *)boxIdxs + 1;
}
@@ -3763,7 +3636,7 @@ static const u16 *BufferQuestLogText_DepositedMonInPC(const u16 *eventData)
DynamicPlaceholderTextUtil_Reset();
QuestLog_GetSpeciesName(eventData[0], NULL, 0);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, GetBoxNamePtr(boxIdxs[0]));
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DepositedMonInPC);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DepositedMonInPC);
return (const u16 *)boxIdxs + 1;
}
@@ -3784,10 +3657,10 @@ static const u16 *BufferQuestLogText_SwitchedMultipleMons(const u16 *eventData)
DynamicPlaceholderTextUtil_Reset();
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, GetBoxNamePtr(*((const u8 *)r4 + 0)));
if (*((const u8 *)r4 + 0) == *((const u8 *)r4 + 1))
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, QuestLog_Text_ADifferentSpot);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, gText_QuestLog_ADifferentSpot);
else
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, GetBoxNamePtr(*((const u8 *)r4 + 1)));
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SwitchedMultipleMons);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SwitchedMultipleMons);
return r4 + 1;
}
@@ -3804,7 +3677,7 @@ static const u16 *BufferQuestLogText_DepositedItemInPC(const u16 *eventData)
{
const u16 *r4 = sub_8113E88(QL_EVENT_DEPOSITED_ITEM_PC, eventData);
CopyItemName(r4[0], gStringVar1);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_StoredItemInPC);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_StoredItemInPC);
return r4 + 1;
}
@@ -3821,7 +3694,7 @@ static const u16 *BufferQuestLogText_WithdrewItemFromPC(const u16 *eventData)
{
const u16 *r4 = sub_8113E88(QL_EVENT_WITHDREW_ITEM_PC, eventData);
CopyItemName(r4[0], gStringVar1);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_WithdrewItemFromPC);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_WithdrewItemFromPC);
return r4 + 1;
}
@@ -3856,7 +3729,7 @@ static const u16 *BufferQuestLogText_DefeatedGymLeader(const u16 *eventData)
QuestLog_GetSpeciesName(eventData[0], 0, 2);
QuestLog_GetSpeciesName(eventData[1], 0, 3);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, sDefeatedOpponentFlavorTexts[r6[1]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_TookOnGymLeadersMonWithMonAndWon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_TookOnGymLeadersMonWithMonAndWon);
return eventData + 4;
}
@@ -3903,30 +3776,30 @@ static const u16 *BufferQuestLogText_DefeatedWildMon(const u16 *a0)
if (data[0] == 0)
{
if (data[1] == 1)
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_CaughtWildMon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_CaughtWildMon);
else
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_CaughtWildMons);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_CaughtWildMons);
}
else if (data[1] == 0)
{
if (data[0] == 1)
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMon);
else
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMons);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMons);
}
else if (data[0] == 1)
{
if (data[1] == 1)
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMonAndCaughtWildMon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMonAndCaughtWildMon);
else
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMonAndCaughtWildMons);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMonAndCaughtWildMons);
}
else
{
if (data[1] == 1)
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMonsAndCaughtWildMon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMonsAndCaughtWildMon);
else
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_DefeatedWildMonsAndCaughtWildMons);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_DefeatedWildMonsAndCaughtWildMons);
}
return (const u16 *)(data + 4);
}
@@ -3964,7 +3837,7 @@ static const u16 *BufferQuestLogText_DefeatedEliteFourMember(const u16 *eventDat
QuestLog_GetSpeciesName(eventData[0], NULL, 1);
QuestLog_GetSpeciesName(eventData[1], NULL, 2);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(3, sDefeatedOpponentFlavorTexts[r5[1]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_TookOnEliteFoursMonWithMonAndWon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_TookOnEliteFoursMonWithMonAndWon);
return eventData + 4;
}
@@ -3995,18 +3868,18 @@ static const u16 *BufferQuestLogText_DefeatedChampion(const u16 *a0)
case 0:
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, gSaveBlock2Ptr->playerName);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, gSaveBlock1Ptr->rivalName);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_PlayerBattledChampionRival);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_PlayerBattledChampionRival);
break;
case 1:
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, gSaveBlock1Ptr->rivalName);
QuestLog_GetSpeciesName(a0[2], NULL, 1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, gSaveBlock2Ptr->playerName);
QuestLog_GetSpeciesName(a0[3], NULL, 3);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_PlayerSentOutMon1RivalSentOutMon2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_PlayerSentOutMon1RivalSentOutMon2);
break;
case 2:
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, sDefeatedChampionFlavorTexts[r5[0]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_WonTheMatchAsAResult);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_WonTheMatchAsAResult);
break;
}
return (const u16 *)(r5 + 2);
@@ -4036,77 +3909,77 @@ static const u16 *BufferQuestLogText_DefeatedTrainer(const u16 *eventData)
QuestLog_GetSpeciesName(r5[0], NULL, 2);
QuestLog_GetSpeciesName(r5[1], NULL, 3);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, sDefeatedOpponentFlavorTexts[r6[1]]);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_TookOnTrainersMonWithMonAndWon);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_TookOnTrainersMonWithMonAndWon);
return (const u16 *)(r6 + 2);
}
static const u8 *const sLocationNameTexts[] =
{
[QL_LOCATION_HOME] = QuestLog_Text_Home,
[QL_LOCATION_OAKS_LAB] = QuestLog_Text_OakResearchLab,
[QL_LOCATION_VIRIDIAN_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_LEAGUE_GATE_1] = QuestLog_Text_PokemonLeagueGate,
[QL_LOCATION_LEAGUE_GATE_2] = QuestLog_Text_PokemonLeagueGate,
[QL_LOCATION_VIRIDIAN_FOREST_1] = QuestLog_Text_ViridianForest,
[QL_LOCATION_VIRIDIAN_FOREST_2] = QuestLog_Text_ViridianForest,
[QL_LOCATION_PEWTER_MUSEUM] = QuestLog_Text_PewterMuseumOfScience,
[QL_LOCATION_PEWTER_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_MT_MOON_1] = QuestLog_Text_MtMoon,
[QL_LOCATION_MT_MOON_2] = QuestLog_Text_MtMoon,
[QL_LOCATION_CERULEAN_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_BIKE_SHOP] = QuestLog_Text_BikeShop,
[QL_LOCATION_BILLS_HOUSE] = QuestLog_Text_BillsHouse,
[QL_LOCATION_DAY_CARE] = QuestLog_Text_DayCare,
[QL_LOCATION_UNDERGROUND_PATH_1] = QuestLog_Text_UndergroundPath,
[QL_LOCATION_UNDERGROUND_PATH_2] = QuestLog_Text_UndergroundPath,
[QL_LOCATION_PKMN_FAN_CLUB] = QuestLog_Text_PokemonFanClub,
[QL_LOCATION_VERMILION_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_SS_ANNE] = QuestLog_Text_SSAnne,
[QL_LOCATION_DIGLETTS_CAVE_1] = QuestLog_Text_DiglettsCave,
[QL_LOCATION_DIGLETTS_CAVE_2] = QuestLog_Text_DiglettsCave,
[QL_LOCATION_ROCK_TUNNEL_1] = QuestLog_Text_RockTunnel,
[QL_LOCATION_ROCK_TUNNEL_2] = QuestLog_Text_RockTunnel,
[QL_LOCATION_POWER_PLANT] = QuestLog_Text_PowerPlant,
[QL_LOCATION_PKMN_TOWER] = QuestLog_Text_PokemonTower,
[QL_LOCATION_VOLUNTEER_HOUSE] = QuestLog_Text_VolunteerHouse,
[QL_LOCATION_NAME_RATERS_HOUSE] = QuestLog_Text_NameRatersHouse,
[QL_LOCATION_UNDERGROUND_PATH_3] = QuestLog_Text_UndergroundPath,
[QL_LOCATION_UNDERGROUND_PATH_4] = QuestLog_Text_UndergroundPath,
[QL_LOCATION_CELADON_DEPT_STORE] = QuestLog_Text_CeladonDeptStore,
[QL_LOCATION_CELADON_MANSION] = QuestLog_Text_CeladonMansion,
[QL_LOCATION_GAME_CORNER] = QuestLog_Text_RocketGameCorner,
[QL_LOCATION_CELADON_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_CELADON_RESTAURANT] = QuestLog_Text_Restaurant,
[QL_LOCATION_ROCKET_HIDEOUT] = QuestLog_Text_RocketHideout,
[QL_LOCATION_SAFARI_ZONE] = QuestLog_Text_SafariZone,
[QL_LOCATION_FUCHSIA_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_WARDENS_HOME] = QuestLog_Text_WardensHome,
[QL_LOCATION_FIGHTING_DOJO] = QuestLog_Text_FightingDojo,
[QL_LOCATION_SAFFRON_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_SILPH_CO] = QuestLog_Text_SilphCo,
[QL_LOCATION_SEAFOAM_ISLANDS_1] = QuestLog_Text_SeafoamIslands,
[QL_LOCATION_SEAFOAM_ISLANDS_2] = QuestLog_Text_SeafoamIslands,
[QL_LOCATION_PKMN_MANSION] = QuestLog_Text_PokemonMansion,
[QL_LOCATION_CINNABAR_GYM] = QuestLog_Text_Gym,
[QL_LOCATION_CINNABAR_LAB] = QuestLog_Text_PokemonResearchLab,
[QL_LOCATION_VICTORY_ROAD_1] = QuestLog_Text_VictoryRoad,
[QL_LOCATION_VICTORY_ROAD_2] = QuestLog_Text_VictoryRoad,
[QL_LOCATION_PKMN_LEAGUE] = QuestLog_Text_PokemonLeague,
[QL_LOCATION_CERULEAN_CAVE] = QuestLog_Text_CeruleanCave
[QL_LOCATION_HOME] = gText_QuestLog_Home,
[QL_LOCATION_OAKS_LAB] = gText_QuestLog_OakResearchLab,
[QL_LOCATION_VIRIDIAN_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_LEAGUE_GATE_1] = gText_QuestLog_PokemonLeagueGate,
[QL_LOCATION_LEAGUE_GATE_2] = gText_QuestLog_PokemonLeagueGate,
[QL_LOCATION_VIRIDIAN_FOREST_1] = gText_QuestLog_ViridianForest,
[QL_LOCATION_VIRIDIAN_FOREST_2] = gText_QuestLog_ViridianForest,
[QL_LOCATION_PEWTER_MUSEUM] = gText_QuestLog_PewterMuseumOfScience,
[QL_LOCATION_PEWTER_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_MT_MOON_1] = gText_QuestLog_MtMoon,
[QL_LOCATION_MT_MOON_2] = gText_QuestLog_MtMoon,
[QL_LOCATION_CERULEAN_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_BIKE_SHOP] = gText_QuestLog_BikeShop,
[QL_LOCATION_BILLS_HOUSE] = gText_QuestLog_BillsHouse,
[QL_LOCATION_DAY_CARE] = gText_QuestLog_DayCare,
[QL_LOCATION_UNDERGROUND_PATH_1] = gText_QuestLog_UndergroundPath,
[QL_LOCATION_UNDERGROUND_PATH_2] = gText_QuestLog_UndergroundPath,
[QL_LOCATION_PKMN_FAN_CLUB] = gText_QuestLog_PokemonFanClub,
[QL_LOCATION_VERMILION_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_SS_ANNE] = gText_QuestLog_SSAnne,
[QL_LOCATION_DIGLETTS_CAVE_1] = gText_QuestLog_DiglettsCave,
[QL_LOCATION_DIGLETTS_CAVE_2] = gText_QuestLog_DiglettsCave,
[QL_LOCATION_ROCK_TUNNEL_1] = gText_QuestLog_RockTunnel,
[QL_LOCATION_ROCK_TUNNEL_2] = gText_QuestLog_RockTunnel,
[QL_LOCATION_POWER_PLANT] = gText_QuestLog_PowerPlant,
[QL_LOCATION_PKMN_TOWER] = gText_QuestLog_PokemonTower,
[QL_LOCATION_VOLUNTEER_HOUSE] = gText_QuestLog_VolunteerHouse,
[QL_LOCATION_NAME_RATERS_HOUSE] = gText_QuestLog_NameRatersHouse,
[QL_LOCATION_UNDERGROUND_PATH_3] = gText_QuestLog_UndergroundPath,
[QL_LOCATION_UNDERGROUND_PATH_4] = gText_QuestLog_UndergroundPath,
[QL_LOCATION_CELADON_DEPT_STORE] = gText_QuestLog_CeladonDeptStore,
[QL_LOCATION_CELADON_MANSION] = gText_QuestLog_CeladonMansion,
[QL_LOCATION_GAME_CORNER] = gText_QuestLog_RocketGameCorner,
[QL_LOCATION_CELADON_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_CELADON_RESTAURANT] = gText_QuestLog_Restaurant,
[QL_LOCATION_ROCKET_HIDEOUT] = gText_QuestLog_RocketHideout,
[QL_LOCATION_SAFARI_ZONE] = gText_QuestLog_SafariZone,
[QL_LOCATION_FUCHSIA_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_WARDENS_HOME] = gText_QuestLog_WardensHome,
[QL_LOCATION_FIGHTING_DOJO] = gText_QuestLog_FightingDojo,
[QL_LOCATION_SAFFRON_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_SILPH_CO] = gText_QuestLog_SilphCo,
[QL_LOCATION_SEAFOAM_ISLANDS_1] = gText_QuestLog_SeafoamIslands,
[QL_LOCATION_SEAFOAM_ISLANDS_2] = gText_QuestLog_SeafoamIslands,
[QL_LOCATION_PKMN_MANSION] = gText_QuestLog_PokemonMansion,
[QL_LOCATION_CINNABAR_GYM] = gText_QuestLog_Gym,
[QL_LOCATION_CINNABAR_LAB] = gText_QuestLog_PokemonResearchLab,
[QL_LOCATION_VICTORY_ROAD_1] = gText_QuestLog_VictoryRoad,
[QL_LOCATION_VICTORY_ROAD_2] = gText_QuestLog_VictoryRoad,
[QL_LOCATION_PKMN_LEAGUE] = gText_QuestLog_PokemonLeague,
[QL_LOCATION_CERULEAN_CAVE] = gText_QuestLog_CeruleanCave
};
static const u8 *const sDepartedLocationTexts[] =
{
[QL_DEPARTED_TOWN_BUILDING] = QuestLog_Text_DepartedPlaceInTownForNextDestination,
[QL_DEPARTED_MUSEUM] = QuestLog_Text_LeftTownsLocationForNextDestination,
[QL_DEPARTED_GAME_CORNER] = QuestLog_Text_PlayedGamesAtGameCorner,
[QL_DEPARTED_HOME] = QuestLog_Text_RestedAtHome,
[QL_DEPARTED_OAKS_LAB] = QuestLog_Text_LeftOaksLab,
[QL_DEPARTED_GYM] = QuestLog_Text_GymWasFullOfToughTrainers,
[QL_DEPARTED_SAFARI_ZONE] = QuestLog_Text_HadGreatTimeInSafariZone,
[QL_DEPARTED_CAVE] = QuestLog_Text_ManagedToGetOutOfLocation,
[QL_DEPARTED_MISC_BUILDING_1] = QuestLog_Text_DepartedTheLocationForNextDestination,
[QL_DEPARTED_MISC_BUILDING_2] = QuestLog_Text_DepartedFromLocationToNextDestination
[QL_DEPARTED_TOWN_BUILDING] = gText_QuestLog_DepartedPlaceInTownForNextDestination,
[QL_DEPARTED_MUSEUM] = gText_QuestLog_LeftTownsLocationForNextDestination,
[QL_DEPARTED_GAME_CORNER] = gText_QuestLog_PlayedGamesAtGameCorner,
[QL_DEPARTED_HOME] = gText_QuestLog_RestedAtHome,
[QL_DEPARTED_OAKS_LAB] = gText_QuestLog_LeftOaksLab,
[QL_DEPARTED_GYM] = gText_QuestLog_GymWasFullOfToughTrainers,
[QL_DEPARTED_SAFARI_ZONE] = gText_QuestLog_HadGreatTimeInSafariZone,
[QL_DEPARTED_CAVE] = gText_QuestLog_ManagedToGetOutOfLocation,
[QL_DEPARTED_MISC_BUILDING_1] = gText_QuestLog_DepartedTheLocationForNextDestination,
[QL_DEPARTED_MISC_BUILDING_2] = gText_QuestLog_DepartedFromLocationToNextDestination
};
static const u8 sLocationToDepartedTextId[] =
@@ -4177,18 +4050,18 @@ static const u8 gUnknown_8456C17[] = {
static const u8 *const sUsedFieldMoveTexts[] =
{
[FIELD_MOVE_FLASH] = QuestLog_Text_UsedFlash,
[FIELD_MOVE_CUT] = QuestLog_Text_UsedCut,
[FIELD_MOVE_FLY] = QuestLog_Text_UsedFly,
[FIELD_MOVE_STRENGTH] = QuestLog_Text_UsedStrength,
[FIELD_MOVE_SURF] = QuestLog_Text_UsedSurf,
[FIELD_MOVE_ROCK_SMASH] = QuestLog_Text_UsedRockSmash,
[FIELD_MOVE_WATERFALL] = QuestLog_Text_UsedWaterfall,
[FIELD_MOVE_TELEPORT] = QuestLog_Text_UsedTeleportToLocation,
[FIELD_MOVE_DIG] = QuestLog_Text_UsedDigInLocation,
[FIELD_MOVE_MILK_DRINK] = QuestLog_Text_UsedMilkDrink,
[FIELD_MOVE_SOFT_BOILED] = QuestLog_Text_UsedSoftboiled,
[FIELD_MOVE_SWEET_SCENT] = QuestLog_Text_UsedSweetScent
[FIELD_MOVE_FLASH] = gText_QuestLog_UsedFlash,
[FIELD_MOVE_CUT] = gText_QuestLog_UsedCut,
[FIELD_MOVE_FLY] = gText_QuestLog_UsedFly,
[FIELD_MOVE_STRENGTH] = gText_QuestLog_UsedStrength,
[FIELD_MOVE_SURF] = gText_QuestLog_UsedSurf,
[FIELD_MOVE_ROCK_SMASH] = gText_QuestLog_UsedRockSmash,
[FIELD_MOVE_WATERFALL] = gText_QuestLog_UsedWaterfall,
[FIELD_MOVE_TELEPORT] = gText_QuestLog_UsedTeleportToLocation,
[FIELD_MOVE_DIG] = gText_QuestLog_UsedDigInLocation,
[FIELD_MOVE_MILK_DRINK] = gText_QuestLog_UsedMilkDrink,
[FIELD_MOVE_SOFT_BOILED] = gText_QuestLog_UsedSoftboiled,
[FIELD_MOVE_SWEET_SCENT] = gText_QuestLog_UsedSweetScent
};
static u16 *BufferQuestLogData_DepartedLocation(u16 *a0, const u16 *eventData)
@@ -4217,9 +4090,9 @@ static const u16 *BufferQuestLogText_DepartedLocation(const u16 *eventData)
if (r5_2[0] != gUnknown_8456C17[r4])
continue;
if (FlagGet(FLAG_BADGE01_GET + r4) == TRUE)
StringExpandPlaceholders(gStringVar4, QuestLog_Text_DepartedGym);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_DepartedGym);
else
StringExpandPlaceholders(gStringVar4, QuestLog_Text_GymWasFullOfToughTrainers);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_GymWasFullOfToughTrainers);
break;
}
if (r4 == 8)
@@ -4290,7 +4163,7 @@ static const u16 *BufferQuestLogText_UsedFieldMove(const u16 *eventData)
if (r5[0] == FIELD_MOVE_TELEPORT)
{
if (r5[1] == 0x58)
StringCopy(gStringVar3, QuestLog_Text_Home);
StringCopy(gStringVar3, gText_QuestLog_Home);
else
StringCopy(gStringVar3, gText_PokemonCenter);
}
@@ -4323,12 +4196,12 @@ static const u16 *BufferQuestLogText_BoughtItem(const u16 *eventData)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(0, gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, ItemId_GetName(r4[0]));
if (r4[1] < 2)
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_BoughtItem);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_BoughtItem);
else
{
ConvertIntToDecimalStringN(gStringVar2, r6, STR_CONV_MODE_LEFT_ALIGN, 6);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, gStringVar2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_BoughtItemsIncludingItem);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_BoughtItemsIncludingItem);
}
return (const u16 *)(r7 + 2);
}
@@ -4359,15 +4232,15 @@ static const u16 *BufferQuestLogText_SoldItem(const u16 *eventData)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, gStringVar1);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, ItemId_GetName(r5[0]));
if (r5[1] == 1)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(3, QuestLog_Text_JustOne);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(3, gText_QuestLog_JustOne);
else
{
ConvertIntToDecimalStringN(gStringVar2, r5[1], STR_CONV_MODE_LEFT_ALIGN, 3);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(4, gStringVar2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar3, QuestLog_Text_Num);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar3, gText_QuestLog_Num);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(3, gStringVar3);
}
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SoldNumOfItem);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SoldNumOfItem);
}
else
{
@@ -4375,7 +4248,7 @@ static const u16 *BufferQuestLogText_SoldItem(const u16 *eventData)
DynamicPlaceholderTextUtil_SetPlaceholderPtr(1, ItemId_GetName(r5[0]));
ConvertIntToDecimalStringN(gStringVar2, r6, STR_CONV_MODE_LEFT_ALIGN, 6);
DynamicPlaceholderTextUtil_SetPlaceholderPtr(2, gStringVar2);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, QuestLog_Text_SoldItemsIncludingItem);
DynamicPlaceholderTextUtil_ExpandPlaceholders(gStringVar4, gText_QuestLog_SoldItemsIncludingItem);
}
return (const u16 *)(r7 + 2);
}
@@ -4396,7 +4269,7 @@ static const u16 *BufferQuestLogText_ObtainedItem(const u16 *eventData)
const u8 *r5 = (const u8 *)r4 + 2;
GetMapNameGeneric(gStringVar1, r5[0]);
StringCopy(gStringVar2, ItemId_GetName(r4[0]));
StringExpandPlaceholders(gStringVar4, QuestLog_Text_ObtainedItemInLocation);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_ObtainedItemInLocation);
return (const u16 *)(r5 + 2);
}
@@ -4474,7 +4347,7 @@ static const u16 *BufferQuestLogText_ArrivedInLocation(const u16 *eventData)
{
const u16 *r4 = sub_8113E88(QL_EVENT_ARRIVED, eventData);
GetMapNameGeneric(gStringVar1, (u8)r4[0]);
StringExpandPlaceholders(gStringVar4, QuestLog_Text_ArrivedInLocation);
StringExpandPlaceholders(gStringVar4, gText_QuestLog_ArrivedInLocation);
return r4 + 1;
}
+1337
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -797,7 +797,7 @@ static void Task_SelectTMAction_FromFieldBag(u8 taskId)
Menu_InitCursor(sTMCaseDynamicResources->contextMenuWindowId, 2, 0, 2, GetFontAttribute(2, 1) + 2, sTMCaseDynamicResources->numMenuActions, 0);
strbuf = Alloc(256);
GetTMNumberAndMoveString(strbuf, gSpecialVar_ItemId);
StringAppend(strbuf, gText_IsSelected);
StringAppend(strbuf, gText_Var1IsSelected + 2); // +2 skips over the stringvar
AddTextPrinterParameterized_ColorByIndex(2, 2, strbuf, 0, 2, 1, 0, 0, 1);
Free(strbuf);
if (itemid_is_unique(gSpecialVar_ItemId))