summaryrefslogtreecommitdiff
path: root/data/maps/Route12_FishingHouse
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-30 16:46:37 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-31 03:54:14 -0500
commit1cfeae9ffa11bb86a214721bb264f26ca8cb7d5a (patch)
tree5da537dcc52554b71f75c43f3853823c68dc11de /data/maps/Route12_FishingHouse
parent65690ca7dc880f08a4c63d490797f4b16ce5195e (diff)
Document Routes 10-14 scripts
Diffstat (limited to 'data/maps/Route12_FishingHouse')
-rw-r--r--data/maps/Route12_FishingHouse/map.json4
-rw-r--r--data/maps/Route12_FishingHouse/scripts.inc90
-rw-r--r--data/maps/Route12_FishingHouse/text.inc30
3 files changed, 62 insertions, 62 deletions
diff --git a/data/maps/Route12_FishingHouse/map.json b/data/maps/Route12_FishingHouse/map.json
index fabd77a97..9000a0de5 100644
--- a/data/maps/Route12_FishingHouse/map.json
+++ b/data/maps/Route12_FishingHouse/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "Route12_FishingHouse_EventScript_16FF0C",
+ "script": "Route12_FishingHouse_EventScript_FishingGuruBrother",
"flag": "0"
}
],
@@ -57,7 +57,7 @@
"x": 9,
"y": 1,
"elevation": 0,
- "script": "Route12_FishingHouse_EventScript_170067"
+ "script": "Route12_FishingHouse_EventScript_MagikarpRecordSign"
}
]
}
diff --git a/data/maps/Route12_FishingHouse/scripts.inc b/data/maps/Route12_FishingHouse/scripts.inc
index e1cd920d7..4b8386a86 100644
--- a/data/maps/Route12_FishingHouse/scripts.inc
+++ b/data/maps/Route12_FishingHouse/scripts.inc
@@ -1,110 +1,110 @@
Route12_FishingHouse_MapScripts:: @ 816FF0B
.byte 0
-Route12_FishingHouse_EventScript_16FF0C:: @ 816FF0C
+Route12_FishingHouse_EventScript_FishingGuruBrother:: @ 816FF0C
lock
faceplayer
- goto_if_set FLAG_GOT_SUPER_ROD, EventScript_16FF7F
- msgbox gUnknown_819EFE0, MSGBOX_YESNO
+ goto_if_set FLAG_GOT_SUPER_ROD, Route12_FishingHouse_EventScript_CheckMagikarpRecord
+ msgbox Route12_FishingHouse_Text_DoYouLikeToFish, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16FF34
- msgbox gUnknown_819F1FA
+ goto_if_eq Route12_FishingHouse_EventScript_GiveSuperRod
+ msgbox Route12_FishingHouse_Text_OhThatsDisappointing
release
end
-EventScript_16FF34:: @ 816FF34
+Route12_FishingHouse_EventScript_GiveSuperRod:: @ 816FF34
checkitemspace ITEM_SUPER_ROD, 1
compare VAR_RESULT, FALSE
- goto_if_eq EventScript_16FF75
+ goto_if_eq Route12_FishingHouse_EventScript_NoRoomForSuperRod
additem ITEM_SUPER_ROD
- msgbox gUnknown_819F05B
- msgreceiveditem gUnknown_819F0B2, ITEM_SUPER_ROD
+ msgbox Route12_FishingHouse_Text_TakeThisAndFish
+ msgreceiveditem Route12_FishingHouse_Text_ReceivedSuperRod, ITEM_SUPER_ROD
setflag FLAG_GOT_SUPER_ROD
- msgbox gUnknown_819F0EB
+ msgbox Route12_FishingHouse_Text_IfYouCatchBigMagikarpShowMe
release
end
-EventScript_16FF75:: @ 816FF75
- msgbox gUnknown_819F494
+Route12_FishingHouse_EventScript_NoRoomForSuperRod:: @ 816FF75
+ msgbox Route12_FishingHouse_Text_NoRoomForGift
release
end
-EventScript_16FF7F:: @ 816FF7F
+Route12_FishingHouse_EventScript_CheckMagikarpRecord:: @ 816FF7F
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
setvar VAR_0x8004, SPECIES_MAGIKARP
specialvar VAR_RESULT, Special_PlayerPartyContainsSpecies
- compare VAR_RESULT, 0
- goto_if_eq EventScript_16FFF5
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route12_FishingHouse_EventScript_NoMagikarpInParty
special GetMagikarpSizeRecordInfo
- msgbox gUnknown_819F2DB
+ msgbox Route12_FishingHouse_Text_OhMagikarpAllowMeToSee
special Special_ChooseMonFromParty
waitstate
copyvar VAR_RESULT, VAR_0x8004
- compare VAR_RESULT, 6
- goto_if_ge EventScript_16FFFF
+ compare VAR_RESULT, PARTY_SIZE
+ goto_if_ge Route12_FishingHouse_EventScript_CancelShowMon
special CompareMagikarpSize
compare VAR_RESULT, 1
- goto_if_eq EventScript_170001
+ goto_if_eq Route12_FishingHouse_EventScript_NotMagikarp
compare VAR_RESULT, 2
- goto_if_eq EventScript_17000B
+ goto_if_eq Route12_FishingHouse_EventScript_NotRecordMagikarp
compare VAR_RESULT, 3
- goto_if_eq EventScript_170031
+ goto_if_eq Route12_FishingHouse_EventScript_NewRecordMagikarp
compare VAR_RESULT, 4
- goto_if_eq EventScript_17001E
+ goto_if_eq Route12_FishingHouse_EventScript_TieRecordMagikarp
release
end
-EventScript_16FFF5:: @ 816FFF5
- msgbox gUnknown_819F217
+Route12_FishingHouse_EventScript_NoMagikarpInParty:: @ 816FFF5
+ msgbox Route12_FishingHouse_Text_TryFishingBringMeMagikarp
release
end
-EventScript_16FFFF:: @ 816FFFF
+Route12_FishingHouse_EventScript_CancelShowMon:: @ 816FFFF
release
end
-EventScript_170001:: @ 8170001
- msgbox gUnknown_819F468
+Route12_FishingHouse_EventScript_NotMagikarp:: @ 8170001
+ msgbox Route12_FishingHouse_Text_DoesntLookLikeMagikarp
release
end
-EventScript_17000B:: @ 817000B
- goto_if_unset FLAG_GOT_RECORD_SETTING_MAGIKARP, EventScript_170031
- msgbox gUnknown_819F40A
+Route12_FishingHouse_EventScript_NotRecordMagikarp:: @ 817000B
+ goto_if_unset FLAG_GOT_RECORD_SETTING_MAGIKARP, Route12_FishingHouse_EventScript_NewRecordMagikarp
+ msgbox Route12_FishingHouse_Text_HmmXInchesDoesntMeasureUp
release
end
-EventScript_17001E:: @ 817001E
- goto_if_unset FLAG_GOT_RECORD_SETTING_MAGIKARP, EventScript_170031
- msgbox gUnknown_819F3CB
+Route12_FishingHouse_EventScript_TieRecordMagikarp:: @ 817001E
+ goto_if_unset FLAG_GOT_RECORD_SETTING_MAGIKARP, Route12_FishingHouse_EventScript_NewRecordMagikarp
+ msgbox Route12_FishingHouse_Text_HuhXInchesSameSizeAsLast
release
end
-EventScript_170031:: @ 8170031
+Route12_FishingHouse_EventScript_NewRecordMagikarp:: @ 8170031
setflag FLAG_GOT_RECORD_SETTING_MAGIKARP
- msgbox gUnknown_819F31B
+ msgbox Route12_FishingHouse_Text_WhoaXInchesTakeThis
giveitem ITEM_NET_BALL
- compare VAR_RESULT, 0
- goto_if_eq EventScript_17005D
- msgbox gUnknown_819F395
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route12_FishingHouse_EventScript_NoRoomForNetBall
+ msgbox Route12_FishingHouse_Text_LookForwardToGreaterRecords
release
end
-EventScript_17005D:: @ 817005D
- msgbox gUnknown_819F494
+Route12_FishingHouse_EventScript_NoRoomForNetBall:: @ 817005D
+ msgbox Route12_FishingHouse_Text_NoRoomForGift
release
end
-Route12_FishingHouse_EventScript_170067:: @ 8170067
+Route12_FishingHouse_EventScript_MagikarpRecordSign:: @ 8170067
lockall
- goto_if_set FLAG_GOT_RECORD_SETTING_MAGIKARP, EventScript_17007B
- msgbox gUnknown_819F50C
+ goto_if_set FLAG_GOT_RECORD_SETTING_MAGIKARP, Route12_FishingHouse_EventScript_MagikarpRecordSignRecordSet
+ msgbox Route12_FishingHouse_Text_BlankChartOfSomeSort
releaseall
end
-EventScript_17007B:: @ 817007B
+Route12_FishingHouse_EventScript_MagikarpRecordSignRecordSet:: @ 817007B
special GetMagikarpSizeRecordInfo
- msgbox gUnknown_819F4CF
+ msgbox Route12_FishingHouse_Text_MostGiganticMagikarpXInches
releaseall
end
diff --git a/data/maps/Route12_FishingHouse/text.inc b/data/maps/Route12_FishingHouse/text.inc
index 4f1f3f1fd..efe9b62a6 100644
--- a/data/maps/Route12_FishingHouse/text.inc
+++ b/data/maps/Route12_FishingHouse/text.inc
@@ -1,20 +1,20 @@
-gUnknown_819EFE0:: @ 819EFE0
+Route12_FishingHouse_Text_DoYouLikeToFish:: @ 819EFE0
.string "I'm the FISHING GURU's younger\n"
.string "brother.\p"
.string "I simply looove fishing!\n"
.string "I can't bear to go without.\p"
.string "Tell me, do you like to fish?$"
-gUnknown_819F05B:: @ 819F05B
+Route12_FishingHouse_Text_TakeThisAndFish:: @ 819F05B
.string "Grand! I like your style.\n"
.string "I think we can be friends.\p"
.string "Take this and fish, young friend!$"
-gUnknown_819F0B2:: @ 819F0B2
+Route12_FishingHouse_Text_ReceivedSuperRod:: @ 819F0B2
.string "{PLAYER} received a SUPER ROD from\n"
.string "the FISHING GURU's brother.$"
-gUnknown_819F0EB:: @ 819F0EB
+Route12_FishingHouse_Text_IfYouCatchBigMagikarpShowMe:: @ 819F0EB
.string "Fishing is a way of life!\n"
.string "It is like the finest poetry.\p"
.string "From the seas to rivers, go out\n"
@@ -25,11 +25,11 @@ gUnknown_819F0EB:: @ 819F0EB
.string "As much as I love to fish, I also\n"
.string "love seeing gigantic MAGIKARP.$"
-gUnknown_819F1FA:: @ 819F1FA
+Route12_FishingHouse_Text_OhThatsDisappointing:: @ 819F1FA
.string "Oh…\n"
.string "That's so disappointing…$"
-gUnknown_819F217:: @ 819F217
+Route12_FishingHouse_Text_TryFishingBringMeMagikarp:: @ 819F217
.string "Hello there, {PLAYER}!\n"
.string "Have you been fishing?\p"
.string "Try fishing with the SUPER ROD in\n"
@@ -39,12 +39,12 @@ gUnknown_819F217:: @ 819F217
.string "Oh, and don't forget to bring me\n"
.string "gigantic MAGIKARP.$"
-gUnknown_819F2DB:: @ 819F2DB
+Route12_FishingHouse_Text_OhMagikarpAllowMeToSee:: @ 819F2DB
.string "Oh? {PLAYER}?\n"
.string "Why, if it isn't a MAGIKARP!\p"
.string "Allow me to see it, quick!$"
-gUnknown_819F31B:: @ 819F31B
+Route12_FishingHouse_Text_WhoaXInchesTakeThis:: @ 819F31B
.string "… … …Whoa!\n"
.string "{STR_VAR_2} inches!\p"
.string "You have a rare appreciation for\n"
@@ -52,37 +52,37 @@ gUnknown_819F31B:: @ 819F31B
.string "You must take this.\n"
.string "I insist!$"
-gUnknown_819F395:: @ 819F395
+Route12_FishingHouse_Text_LookForwardToGreaterRecords:: @ 819F395
.string "I'll look forward to seeing greater\n"
.string "records from you!$"
-gUnknown_819F3CB:: @ 819F3CB
+Route12_FishingHouse_Text_HuhXInchesSameSizeAsLast:: @ 819F3CB
.string "Huh?\n"
.string "{STR_VAR_2} inches?\p"
.string "This is the same size as the one\n"
.string "I saw before.$"
-gUnknown_819F40A:: @ 819F40A
+Route12_FishingHouse_Text_HmmXInchesDoesntMeasureUp:: @ 819F40A
.string "Hmm…\n"
.string "This one is {STR_VAR_2} inches long.\p"
.string "It doesn't measure up to the\n"
.string "{STR_VAR_3}-inch one you brought before.$"
-gUnknown_819F468:: @ 819F468
+Route12_FishingHouse_Text_DoesntLookLikeMagikarp:: @ 819F468
.string "Uh… That doesn't look much like\n"
.string "a MAGIKARP.$"
-gUnknown_819F494:: @ 819F494
+Route12_FishingHouse_Text_NoRoomForGift:: @ 819F494
.string "Oh, no!\p"
.string "I had a gift for you, but you have\n"
.string "no room for it.$"
-gUnknown_819F4CF:: @ 819F4CF
+Route12_FishingHouse_Text_MostGiganticMagikarpXInches:: @ 819F4CF
.string "The most gigantic MAGIKARP\n"
.string "I have ever witnessed…\p"
.string "{STR_VAR_3} inches!$"
-gUnknown_819F50C:: @ 819F50C
+Route12_FishingHouse_Text_BlankChartOfSomeSort:: @ 819F50C
.string "It's a blank chart of some sort.\p"
.string "It has spaces for writing in\n"
.string "records of some kind.$"