summaryrefslogtreecommitdiff
path: root/data/maps/FortreeCity_House1
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-07 14:49:52 -0500
committerGriffinR <griffin.richards@comcast.net>2019-11-07 14:49:52 -0500
commit979ece7d56387e72fa2938401c511be95d67601e (patch)
tree1b92dd298b9df559edf7c9d56e1d77fc51c615fb /data/maps/FortreeCity_House1
parent03a7995570766b96c942c08dbc7168d9daab4dc6 (diff)
Document Fortree scripts
Diffstat (limited to 'data/maps/FortreeCity_House1')
-rw-r--r--data/maps/FortreeCity_House1/map.json6
-rw-r--r--data/maps/FortreeCity_House1/scripts.inc48
2 files changed, 27 insertions, 27 deletions
diff --git a/data/maps/FortreeCity_House1/map.json b/data/maps/FortreeCity_House1/map.json
index 62469515a..f984e2be5 100644
--- a/data/maps/FortreeCity_House1/map.json
+++ b/data/maps/FortreeCity_House1/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "FortreeCity_House1_EventScript_2162BB",
+ "script": "FortreeCity_House1_EventScript_Trader",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "FortreeCity_House1_EventScript_216368",
+ "script": "FortreeCity_House1_EventScript_Zigzagoon",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "FortreeCity_House1_EventScript_21635F",
+ "script": "FortreeCity_House1_EventScript_ExpertF",
"flag": "0"
}
],
diff --git a/data/maps/FortreeCity_House1/scripts.inc b/data/maps/FortreeCity_House1/scripts.inc
index 9ef94b12b..c7f4a8d5b 100644
--- a/data/maps/FortreeCity_House1/scripts.inc
+++ b/data/maps/FortreeCity_House1/scripts.inc
@@ -1,69 +1,69 @@
FortreeCity_House1_MapScripts:: @ 82162BA
.byte 0
-FortreeCity_House1_EventScript_2162BB:: @ 82162BB
+FortreeCity_House1_EventScript_Trader:: @ 82162BB
lock
faceplayer
- goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_216355
+ goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_PLUSLE
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
- msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
+ msgbox FortreeCity_House1_Text_YouWillTradeWontYou, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq FortreeCity_House1_EventScript_21633D
+ goto_if_eq FortreeCity_House1_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
- goto_if_eq FortreeCity_House1_EventScript_21633D
+ goto_if_eq FortreeCity_House1_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
- goto_if_ne FortreeCity_House1_EventScript_216347
+ goto_if_ne FortreeCity_House1_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
bufferspeciesname 0, VAR_0x8009
- msgbox FortreeCity_House1_Text_216440, MSGBOX_DEFAULT
+ msgbox FortreeCity_House1_Text_MonYouTakeCare, MSGBOX_DEFAULT
setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
release
end
-FortreeCity_House1_EventScript_21633D:: @ 821633D
- msgbox FortreeCity_House1_Text_21649F, MSGBOX_DEFAULT
+FortreeCity_House1_EventScript_DeclineTrade:: @ 821633D
+ msgbox FortreeCity_House1_Text_YouWontTradeMe, MSGBOX_DEFAULT
release
end
-FortreeCity_House1_EventScript_216347:: @ 8216347
+FortreeCity_House1_EventScript_NotRequestedMon:: @ 8216347
bufferspeciesname 0, VAR_0x8009
- msgbox FortreeCity_House1_Text_216474, MSGBOX_DEFAULT
+ msgbox FortreeCity_House1_Text_ThisIsntAMon, MSGBOX_DEFAULT
release
end
-FortreeCity_House1_EventScript_216355:: @ 8216355
- msgbox FortreeCity_House1_Text_2164DB, MSGBOX_DEFAULT
+FortreeCity_House1_EventScript_TradeCompleted:: @ 8216355
+ msgbox FortreeCity_House1_Text_GoingToMakeVolbeatStrong, MSGBOX_DEFAULT
release
end
-FortreeCity_House1_EventScript_21635F:: @ 821635F
- msgbox FortreeCity_House1_Text_21653B, MSGBOX_NPC
+FortreeCity_House1_EventScript_ExpertF:: @ 821635F
+ msgbox FortreeCity_House1_Text_TradingMemoriesWithOthers, MSGBOX_NPC
end
-FortreeCity_House1_EventScript_216368:: @ 8216368
+FortreeCity_House1_EventScript_Zigzagoon:: @ 8216368
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox FortreeCity_House1_Text_216597, MSGBOX_DEFAULT
+ msgbox FortreeCity_House1_Text_Zigzagoon, MSGBOX_DEFAULT
waitmoncry
release
end
-FortreeCity_House1_Text_21637B: @ 821637B
+FortreeCity_House1_Text_YouWillTradeWontYou: @ 821637B
.string "Wrooooaaar! I need it!\n"
.string "I have to get me a {STR_VAR_1}!\l"
.string "I'll do anything for it!\p"
@@ -73,29 +73,29 @@ FortreeCity_House1_Text_21637B: @ 821637B
.string "your {STR_VAR_1} for my {STR_VAR_2},\l"
.string "won't you?$"
-FortreeCity_House1_Text_216440: @ 8216440
+FortreeCity_House1_Text_MonYouTakeCare: @ 8216440
.string "Oh, yeah, right on!\p"
.string "{STR_VAR_1}, welcome!\n"
.string "{STR_VAR_2}, you take care!$"
-FortreeCity_House1_Text_216474: @ 8216474
+FortreeCity_House1_Text_ThisIsntAMon: @ 8216474
.string "Uh, no, I don't think so.\n"
.string "That isn't a {STR_VAR_1}.$"
-FortreeCity_House1_Text_21649F: @ 821649F
+FortreeCity_House1_Text_YouWontTradeMe: @ 821649F
.string "No? You won't trade me?\n"
.string "Even after I bared my heart to you?$"
-FortreeCity_House1_Text_2164DB: @ 82164DB
+FortreeCity_House1_Text_GoingToMakeVolbeatStrong: @ 82164DB
.string "I'm going to make VOLBEAT super\n"
.string "strong from this moment on!\p"
.string "I hope you do the same with PLUSLE!$"
-FortreeCity_House1_Text_21653B: @ 821653B
+FortreeCity_House1_Text_TradingMemoriesWithOthers: @ 821653B
.string "Trading POKéMON with others…\p"
.string "It's as if you're trading your own\n"
.string "memories with other people.$"
-FortreeCity_House1_Text_216597: @ 8216597
+FortreeCity_House1_Text_Zigzagoon: @ 8216597
.string "ZIGZAGOON: Gumomoh?$"