shithub: pokecrystal

Download patch

ref: 93d6933f10d7bac62387ec8c71fb7c9ce151f6f7
parent: d64669c2974a574255b523fe6909153b2813e6c0
author: surskitty <surskitty@gmail.com>
date: Mon Dec 25 09:01:54 EST 2017

SS Aqua Captain's cabin #426

--- a/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
+++ b/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
@@ -18,34 +18,34 @@
 .MapCallbacks:
 	db 0
 
-UnknownScript_0x75ea6:
+Unused_0x75ea6:
 	end
 
-CaptainScript_0x75ea7:
+Captain:
 	faceplayer
 	opentext
 	checkevent EVENT_FAST_SHIP_FIRST_TIME
-	iftrue UnknownScript_0x75eb5
-	writetext UnknownText_0x76012
+	iftrue .LaterTrip
+	writetext SSAquaCaptainExhaustingText
 	waitbutton
 	closetext
 	end
 
-UnknownScript_0x75eb5:
-	writetext UnknownText_0x76064
+.LaterTrip:
+	writetext SSAquaCaptainHowDoYouLikeText
 	waitbutton
 	closetext
 	end
 
-TwinScript_0x75ebb:
+Granddaughter2:
 	spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
 	opentext
-	writetext UnknownText_0x761e0
+	writetext GranddaughterCaptainPlayWithMeText
 	waitbutton
 	closetext
 	faceplayer
 	opentext
-	writetext UnknownText_0x7621f
+	writetext GranddaughterHasToFindGrandpaText
 	waitbutton
 	closetext
 	special Special_FadeBlackQuickly
@@ -62,54 +62,54 @@
 	applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, MovementData_0x7600c
 	spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
 	checkflag ENGINE_PLAYER_IS_FEMALE
-	iftrue UnknownScript_0x75f03
+	iftrue .PlayerIsFemale
 	opentext
-	writetext UnknownText_0x76284
+	writetext GranddaughterWasPlayingMText
 	waitbutton
 	closetext
-	jump UnknownScript_0x75f09
+	jump .cont
 
-UnknownScript_0x75f03:
+.PlayerIsFemale:
 	opentext
-	writetext UnknownText_0x762c6
+	writetext GranddaughterWasPlayingFText
 	waitbutton
 	closetext
-UnknownScript_0x75f09:
+.cont:
 	spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
 	applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, MovementData_0x76010
 	opentext
-	writetext UnknownText_0x76143
+	writetext SSAquaEntertainedGranddaughterText
 	buttonsound
 	setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
 	setmapscene FAST_SHIP_1F, $0
-	jump UnknownScript_0x75f37
+	jump SSAquaMetalCoatAndDocking
 
-GentlemanScript_0x75f1f:
+Grandpa:
 	faceplayer
 	opentext
 	checkevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
-	iftrue UnknownScript_0x75f67
+	iftrue SSAquaGotMetalCoat
 	checkevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
-	iftrue UnknownScript_0x75f58
-	writetext UnknownText_0x760ae
+	iftrue SSAquaFoundGranddaughter
+	writetext SSAquaCantFindGranddaughterText
 	waitbutton
 	closetext
 	setmapscene FAST_SHIP_1F, $0
 	end
 
-UnknownScript_0x75f37:
-	writetext UnknownText_0x7619b
+SSAquaMetalCoatAndDocking:
+	writetext GrandpaHaveThisText
 	buttonsound
 	verbosegiveitem METAL_COAT
-	iffalse UnknownScript_0x75f44
+	iffalse .NoRoom
 	setevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
-UnknownScript_0x75f44:
+.NoRoom:
 	closetext
 	waitsfx
 	playsound SFX_ELEVATOR_END
 	pause 30
 	opentext
-	writetext UnknownText_0x76645
+	writetext SSAquaHasArrivedVermilionText
 	waitbutton
 	setevent EVENT_FAST_SHIP_HAS_ARRIVED
 	setevent EVENT_FAST_SHIP_FOUND_GIRL
@@ -116,26 +116,26 @@
 	closetext
 	end
 
-UnknownScript_0x75f58:
-	writetext UnknownText_0x7619b
+SSAquaFoundGranddaughter:
+	writetext GrandpaHaveThisText
 	buttonsound
 	verbosegiveitem METAL_COAT
-	iffalse UnknownScript_0x75f65
+	iffalse .NoRoom
 	setevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
-UnknownScript_0x75f65:
+.NoRoom:
 	closetext
 	end
 
-UnknownScript_0x75f67:
-	writetext UnknownText_0x761be
+SSAquaGotMetalCoat:
+	writetext GrandpaTravellingText
 	waitbutton
 	closetext
 	end
 
-TwinScript_0x75f6d:
+Granddaughter1:
 	faceplayer
 	opentext
-	writetext UnknownText_0x7630d
+	writetext GranddaughterHadFunText
 	waitbutton
 	closetext
 	end
@@ -240,7 +240,7 @@
 	step DOWN
 	step_end
 
-UnknownText_0x76012:
+SSAquaCaptainExhaustingText:
 	text "Whew! Thanks for"
 	line "coming along."
 
@@ -249,7 +249,7 @@
 	cont "was exhausting."
 	done
 
-UnknownText_0x76064:
+SSAquaCaptainHowDoYouLikeText:
 	text "How do you like"
 	line "S.S.AQUA's ride?"
 
@@ -258,7 +258,7 @@
 	cont "waves."
 	done
 
-UnknownText_0x760ae:
+SSAquaCantFindGranddaughterText:
 	text "Oh, hello…"
 
 	para "I still can't find"
@@ -274,7 +274,7 @@
 	line "one. I'm worried…"
 	done
 
-UnknownText_0x76143:
+SSAquaEntertainedGranddaughterText:
 	text "<PLAY_G>, was it?"
 	line "I heard you enter-"
 	cont "tained my grand-"
@@ -284,17 +284,17 @@
 	line "you for that."
 	done
 
-UnknownText_0x7619b:
+GrandpaHaveThisText:
 	text "I know! I'd like"
 	line "you to have this!"
 	done
 
-UnknownText_0x761be:
+GrandpaTravellingText:
 	text "We're traveling"
 	line "around the world."
 	done
 
-UnknownText_0x761e0:
+GranddaughterCaptainPlayWithMeText:
 	text "CAPTAIN, play with"
 	line "me, please?"
 
@@ -302,7 +302,7 @@
 	line "to play more!"
 	done
 
-UnknownText_0x7621f:
+GranddaughterHasToFindGrandpaText:
 	text "Hi! Will you play"
 	line "with me?"
 
@@ -317,7 +317,7 @@
 	line "Grandpa!"
 	done
 
-UnknownText_0x76284:
+GranddaughterWasPlayingMText:
 	text "Grandpa, here I"
 	line "am! I was playing"
 
@@ -325,7 +325,7 @@
 	line "and this guy!"
 	done
 
-UnknownText_0x762c6:
+GranddaughterWasPlayingFText:
 	text "Grandpa, here I"
 	line "am! I was playing"
 
@@ -333,7 +333,7 @@
 	line "and this big girl!"
 	done
 
-UnknownText_0x7630d:
+GranddaughterHadFunText:
 	text "I had lots of fun"
 	line "playing!"
 	done
@@ -456,7 +456,7 @@
 	cont "the situation."
 	done
 
-UnknownText_0x76645:
+SSAquaHasArrivedVermilionText:
 	text "FAST SHIP S.S.AQUA"
 	line "has arrived in"
 	cont "VERMILION CITY."
@@ -484,10 +484,10 @@
 
 .ObjectEvents:
 	db 11
-	object_event SPRITE_CAPTAIN, 25, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CaptainScript_0x75ea7, -1
-	object_event SPRITE_GENTLEMAN, 17, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x75f1f, EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
-	object_event SPRITE_TWIN, 17, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TwinScript_0x75f6d, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
-	object_event SPRITE_TWIN, 25, 2, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TwinScript_0x75ebb, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
+	object_event SPRITE_CAPTAIN, 25, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Captain, -1
+	object_event SPRITE_GENTLEMAN, 17, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Grandpa, EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
+	object_event SPRITE_TWIN, 17, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Granddaughter1, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
+	object_event SPRITE_TWIN, 25, 2, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Granddaughter2, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
 	object_event SPRITE_POKEFAN_M, 6, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 5, TrainerPokefanmColin, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
 	object_event SPRITE_TWIN, 4, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsMegandpeg1, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
 	object_event SPRITE_TWIN, 4, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsMegandpeg2, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP