shithub: pokecrystal

Download patch

ref: d64669c2974a574255b523fe6909153b2813e6c0
parent: ec8c9688ce970b9c3b63a5b287a99542f0bc9984
author: surskitty <surskitty@gmail.com>
date: Mon Dec 25 07:55:26 EST 2017

Labelling the Itemfinder guy's house. #426

--- a/maps/EcruteakItemfinderHouse.asm
+++ b/maps/EcruteakItemfinderHouse.asm
@@ -9,47 +9,47 @@
 .MapCallbacks:
 	db 0
 
-CooltrainerMScript_0x9a5fb:
+EcruteakItemfinderGuy:
 	faceplayer
 	opentext
 	checkevent EVENT_GOT_ITEMFINDER
-	iftrue UnknownScript_0x9a614
-	writetext UnknownText_0x9a63c
+	iftrue .itemfinder
+	writetext EcruteakItemfinderAdventureText
 	yesorno
-	iffalse UnknownScript_0x9a61a
-	writetext UnknownText_0x9a6b5
+	iffalse .no
+	writetext EcruteakItemfinderTrueSpiritText
 	buttonsound
 	verbosegiveitem ITEMFINDER
 	setevent EVENT_GOT_ITEMFINDER
-UnknownScript_0x9a614:
-	writetext UnknownText_0x9a70e
+.itemfinder:
+	writetext ItemfinderExplanationText
 	waitbutton
 	closetext
 	end
 
-UnknownScript_0x9a61a:
-	writetext UnknownText_0x9a805
+.no:
+	writetext EcruteakItemfinderToEachHisOwnText
 	waitbutton
 	closetext
 	end
 
-PokedexScript_0x9a620:
+EcruteakHistoryBook:
 	opentext
-	writetext UnknownText_0x9a826
+	writetext EcruteakHistoryBookText
 	yesorno
-	iftrue UnknownScript_0x9a62a
+	iftrue .ReadBook
 	closetext
 	end
 
-UnknownScript_0x9a62a:
-	writetext UnknownText_0x9a84c
+.ReadBook:
+	writetext EcruteakTwoTowersText
 	yesorno
-	iftrue UnknownScript_0x9a633
+	iftrue .KeepReading
 	closetext
 	end
 
-UnknownScript_0x9a633:
-	writetext UnknownText_0x9a902
+.KeepReading:
+	writetext EcruteakThreeMonText
 	waitbutton
 	closetext
 	end
@@ -57,7 +57,7 @@
 ItemFinderHouseRadio:
 	jumpstd radio2
 
-UnknownText_0x9a63c:
+EcruteakItemfinderAdventureText:
 	text "Ah. You're on an"
 	line "adventure with"
 	cont "your #MON?"
@@ -70,7 +70,7 @@
 	line "I right?"
 	done
 
-UnknownText_0x9a6b5:
+EcruteakItemfinderTrueSpiritText:
 	text "Good! You under-"
 	line "stand the true"
 
@@ -81,7 +81,7 @@
 	line "this with you."
 	done
 
-UnknownText_0x9a70e:
+ItemfinderExplanationText:
 	text "There are many"
 	line "items lying about"
 
@@ -107,12 +107,12 @@
 	line "BURNED TOWER."
 	done
 
-UnknownText_0x9a805:
+EcruteakItemfinderToEachHisOwnText:
 	text "Oh… To each his"
 	line "own, I suppose…"
 	done
 
-UnknownText_0x9a826:
+EcruteakHistoryBookText:
 	text "HISTORY OF"
 	line "ECRUTEAK"
 
@@ -119,7 +119,7 @@
 	para "Want to read it?"
 	done
 
-UnknownText_0x9a84c:
+EcruteakTwoTowersText:
 	text "In ECRUTEAK, there"
 	line "were two towers."
 
@@ -138,7 +138,7 @@
 	para "Keep reading?"
 	done
 
-UnknownText_0x9a902:
+EcruteakThreeMonText:
 	text "ECRUTEAK was also"
 	line "home to three"
 
@@ -180,5 +180,5 @@
 
 .ObjectEvents:
 	db 2
-	object_event SPRITE_COOLTRAINER_M, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CooltrainerMScript_0x9a5fb, -1
-	object_event SPRITE_POKEDEX, 3, 3, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokedexScript_0x9a620, -1
+	object_event SPRITE_COOLTRAINER_M, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EcruteakItemfinderGuy, -1
+	object_event SPRITE_POKEDEX, 3, 3, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakHistoryBook, -1