Label more map scripts (no more UnknownScripts)

This commit is contained in:
Rangi 2018-03-01 17:17:08 -05:00
parent ae5a325464
commit 2b40a1fb9c
4 changed files with 79 additions and 76 deletions

View File

@ -118,8 +118,9 @@ CianwoodCityPokefanM:
CianwoodCityLass: CianwoodCityLass:
jumptextfaceplayer CianwoodCityLassText jumptextfaceplayer CianwoodCityLassText
CianwoodCityUnknownScript: CianwoodCityUnusedScript:
jumptextfaceplayer CianwoodCityUnknownText ; unreferenced
jumptextfaceplayer CianwoodCityUnusedText
CianwoodCitySign: CianwoodCitySign:
jumptext CianwoodCitySignText jumptext CianwoodCitySignText
@ -264,8 +265,8 @@ CianwoodCityLassText:
line "MON." line "MON."
done done
; possibly unused CianwoodCityUnusedText:
CianwoodCityUnknownText: ; unused
text "There are several" text "There are several"
line "islands between" line "islands between"
cont "here and OLIVINE." cont "here and OLIVINE."

View File

@ -29,11 +29,11 @@ OlivinePort_MapScripts:
blackoutmod OLIVINE_CITY blackoutmod OLIVINE_CITY
end end
SailorScript_0x748c0: OlivinePortSailorAtGangwayScript:
faceplayer faceplayer
opentext opentext
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74919 iftrue OlivinePortAlreadyRodeScript
writetext UnknownText_0x74a55 writetext UnknownText_0x74a55
waitbutton waitbutton
closetext closetext
@ -47,7 +47,7 @@ SailorScript_0x748c0:
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
checkevent EVENT_FAST_SHIP_FIRST_TIME checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7490a iffalse .FirstTime
clearevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND clearevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
setevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND setevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
clearevent EVENT_BEAT_COOLTRAINERM_SEAN clearevent EVENT_BEAT_COOLTRAINERM_SEAN
@ -59,173 +59,173 @@ SailorScript_0x748c0:
clearevent EVENT_BEAT_SAILOR_GARRETT clearevent EVENT_BEAT_SAILOR_GARRETT
clearevent EVENT_BEAT_FISHER_JONAH clearevent EVENT_BEAT_FISHER_JONAH
clearevent EVENT_BEAT_BLACKBELT_WAI clearevent EVENT_BEAT_BLACKBELT_WAI
UnknownScript_0x7490a: .FirstTime:
clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
appear OLIVINEPORT_SAILOR1 appear OLIVINEPORT_SAILOR1
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_ENTER_SHIP setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_ENTER_SHIP
warp FAST_SHIP_1F, 25, 1 warp FAST_SHIP_1F, 25, 1
end end
UnknownScript_0x74919: OlivinePortAlreadyRodeScript:
writetext UnknownText_0x74a80 writetext UnknownText_0x74a80
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x7491f: OlivinePortWalkUpToShipScript:
turnobject OLIVINEPORT_SAILOR3, RIGHT turnobject OLIVINEPORT_SAILOR3, RIGHT
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x7498b iftrue .skip
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2 checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x7498b iftrue .skip
turnobject PLAYER, LEFT turnobject PLAYER, LEFT
opentext opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7494e iffalse .FirstTime
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
ifequal SUNDAY, UnknownScript_0x74977 ifequal SUNDAY, .NextShipMonday
ifequal SATURDAY, UnknownScript_0x74977 ifequal SATURDAY, .NextShipMonday
ifequal TUESDAY, UnknownScript_0x74981 ifequal TUESDAY, .NextShipFriday
ifequal WEDNESDAY, UnknownScript_0x74981 ifequal WEDNESDAY, .NextShipFriday
ifequal THURSDAY, UnknownScript_0x74981 ifequal THURSDAY, .NextShipFriday
UnknownScript_0x7494e: .FirstTime:
writetext UnknownText_0x74a9c writetext UnknownText_0x74a9c
yesorno yesorno
iffalse UnknownScript_0x74992 iffalse OlivinePortNotRidingMoveAwayScript
writetext UnknownText_0x74ada writetext UnknownText_0x74ada
buttonsound buttonsound
checkitem S_S_TICKET checkitem S_S_TICKET
iffalse UnknownScript_0x7496d iffalse .NoTicket
writetext UnknownText_0x74b11 writetext UnknownText_0x74b11
waitbutton waitbutton
closetext closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2 setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
applymovement PLAYER, MovementData_0x74a37 applymovement PLAYER, MovementData_0x74a37
jump SailorScript_0x748c0 jump OlivinePortSailorAtGangwayScript
UnknownScript_0x7496d: .NoTicket:
writetext UnknownText_0x74b41 writetext UnknownText_0x74b41
waitbutton waitbutton
closetext closetext
applymovement PLAYER, MovementData_0x74a34 applymovement PLAYER, MovementData_0x74a34
end end
UnknownScript_0x74977: .NextShipMonday:
writetext UnknownText_0x74ba8 writetext UnknownText_0x74ba8
waitbutton waitbutton
closetext closetext
applymovement PLAYER, MovementData_0x74a34 applymovement PLAYER, MovementData_0x74a34
end end
UnknownScript_0x74981: .NextShipFriday:
writetext UnknownText_0x74bce writetext UnknownText_0x74bce
waitbutton waitbutton
closetext closetext
applymovement PLAYER, MovementData_0x74a34 applymovement PLAYER, MovementData_0x74a34
end end
UnknownScript_0x7498b: .skip:
end end
UnknownScript_0x7498c: OlivinePortNotRidingScript:
writetext UnknownText_0x74af6 writetext UnknownText_0x74af6
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x74992: OlivinePortNotRidingMoveAwayScript:
writetext UnknownText_0x74af6 writetext UnknownText_0x74af6
waitbutton waitbutton
closetext closetext
applymovement PLAYER, MovementData_0x74a34 applymovement PLAYER, MovementData_0x74a34
end end
SailorScript_0x7499c: OlivinePortSailorAfterHOFScript:
faceplayer faceplayer
opentext opentext
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74919 iftrue OlivinePortAlreadyRodeScript
checkevent EVENT_FAST_SHIP_FIRST_TIME checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x749c0 iffalse .FirstTime
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
ifequal SUNDAY, UnknownScript_0x749f2 ifequal SUNDAY, .NextShipMonday
ifequal SATURDAY, UnknownScript_0x749f2 ifequal SATURDAY, .NextShipMonday
ifequal TUESDAY, UnknownScript_0x749f8 ifequal TUESDAY, .NextShipFriday
ifequal WEDNESDAY, UnknownScript_0x749f8 ifequal WEDNESDAY, .NextShipFriday
ifequal THURSDAY, UnknownScript_0x749f8 ifequal THURSDAY, .NextShipFriday
UnknownScript_0x749c0: .FirstTime:
writetext UnknownText_0x74a9c writetext UnknownText_0x74a9c
yesorno yesorno
iffalse UnknownScript_0x7498c iffalse OlivinePortNotRidingScript
writetext UnknownText_0x74ada writetext UnknownText_0x74ada
buttonsound buttonsound
checkitem S_S_TICKET checkitem S_S_TICKET
iffalse UnknownScript_0x749ec iffalse .NoTicket
writetext UnknownText_0x74b11 writetext UnknownText_0x74b11
waitbutton waitbutton
closetext closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2 setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
checkcode VAR_FACING checkcode VAR_FACING
ifequal RIGHT, UnknownScript_0x749e5 ifequal RIGHT, .Right
applymovement PLAYER, MovementData_0x74a3f applymovement PLAYER, MovementData_0x74a3f
jump SailorScript_0x748c0 jump OlivinePortSailorAtGangwayScript
UnknownScript_0x749e5: .Right:
applymovement PLAYER, MovementData_0x74a49 applymovement PLAYER, MovementData_0x74a49
jump SailorScript_0x748c0 jump OlivinePortSailorAtGangwayScript
UnknownScript_0x749ec: .NoTicket:
writetext UnknownText_0x74b41 writetext UnknownText_0x74b41
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x749f2: .NextShipMonday:
writetext UnknownText_0x74ba8 writetext UnknownText_0x74ba8
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x749f8: .NextShipFriday:
writetext UnknownText_0x74bce writetext UnknownText_0x74bce
waitbutton waitbutton
closetext closetext
end end
OlivinePortSailorScript: OlivinePortSailorBeforeHOFScript:
jumptextfaceplayer OlivinePortSailorText jumptextfaceplayer OlivinePortSailorBeforeHOFText
FishingGuruScript_0x74a01: OlivinePortFishingGuru1Script:
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x74bf4 writetext OlivinePortFishingGuru1Text
waitbutton waitbutton
closetext closetext
turnobject OLIVINEPORT_FISHING_GURU1, UP turnobject OLIVINEPORT_FISHING_GURU1, UP
end end
FishingGuruScript_0x74a0c: OlivinePortFishingGuru2Script:
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x74c35 writetext OlivinePortFishingGuru2Text
waitbutton waitbutton
closetext closetext
turnobject OLIVINEPORT_FISHING_GURU2, UP turnobject OLIVINEPORT_FISHING_GURU2, UP
end end
YoungsterScript_0x74a17: OlivinePortYoungsterScript:
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x74c76 writetext OlivinePortYoungsterText
waitbutton waitbutton
closetext closetext
turnobject OLIVINEPORT_YOUNGSTER, DOWN turnobject OLIVINEPORT_YOUNGSTER, DOWN
end end
CooltrainerFScript_0x74a22: OlivinePortCooltrainerFScript:
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x74ca2 writetext OlivinePortCooltrainerFText
waitbutton waitbutton
closetext closetext
turnobject OLIVINEPORT_COOLTRAINER_F, DOWN turnobject OLIVINEPORT_COOLTRAINER_F, DOWN
@ -344,7 +344,7 @@ UnknownText_0x74bce:
line "sail next Friday." line "sail next Friday."
done done
UnknownText_0x74bf4: OlivinePortFishingGuru1Text:
text "SHELLDER are easy" text "SHELLDER are easy"
line "to catch here." line "to catch here."
@ -352,7 +352,7 @@ UnknownText_0x74bf4:
line "rare elsewhere." line "rare elsewhere."
done done
UnknownText_0x74c35: OlivinePortFishingGuru2Text:
text "How many RODS do" text "How many RODS do"
line "you have?" line "you have?"
@ -361,20 +361,20 @@ UnknownText_0x74c35:
cont "#MON." cont "#MON."
done done
UnknownText_0x74c76: OlivinePortYoungsterText:
text "S.S.AQUA uses jets" text "S.S.AQUA uses jets"
line "to skim over the" line "to skim over the"
cont "waves!" cont "waves!"
done done
UnknownText_0x74ca2: OlivinePortCooltrainerFText:
text "There are lots of" text "There are lots of"
line "#MON in KANTO." line "#MON in KANTO."
para "I wish I could go…" para "I wish I could go…"
done done
OlivinePortSailorText: OlivinePortSailorBeforeHOFText:
text "We don't want you" text "We don't want you"
line "to fall into the" line "to fall into the"
@ -390,16 +390,16 @@ OlivinePort_MapEvents:
warp_event 7, 23, FAST_SHIP_1F, 1 warp_event 7, 23, FAST_SHIP_1F, 1
db 1 ; coord events db 1 ; coord events
coord_event 7, 15, SCENE_DEFAULT, UnknownScript_0x7491f coord_event 7, 15, SCENE_DEFAULT, OlivinePortWalkUpToShipScript
db 1 ; bg events db 1 ; bg events
bg_event 1, 22, BGEVENT_ITEM, OlivinePortHiddenProtein bg_event 1, 22, BGEVENT_ITEM, OlivinePortHiddenProtein
db 7 ; object events db 7 ; object events
object_event 7, 23, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x748c0, EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY object_event 7, 23, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortSailorAtGangwayScript, EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
object_event 7, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortSailorScript, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME object_event 7, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortSailorBeforeHOFScript, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 6, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x7499c, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME object_event 6, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortSailorAfterHOFScript, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
object_event 4, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x74a01, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME object_event 4, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortFishingGuru1Script, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 13, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x74a0c, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME object_event 13, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortFishingGuru2Script, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 4, 15, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, YoungsterScript_0x74a17, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME object_event 4, 15, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortYoungsterScript, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
object_event 11, 15, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x74a22, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME object_event 11, 15, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortCooltrainerFScript, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME

View File

@ -463,8 +463,9 @@ BugCatchingContestant10BScript:
closetext closetext
end end
UnknownScript_0x6adce: UnusedBugCatchingContestExplanationSign:
jumptext UnknownText_0x6b84c ; duplicate of BugCatchingContestExplanationSign in Route35NationalParkGate.asm
jumptext UnusedBugCatchingContestExplanationText
MovementData_0x6add1: MovementData_0x6add1:
big_step DOWN big_step DOWN
@ -807,7 +808,8 @@ UnusedSudowoodoText:
cont "SILPHSCOPE 2." cont "SILPHSCOPE 2."
done done
UnknownText_0x6b84c: UnusedBugCatchingContestExplanationText:
; duplicate of BugCatchingContestExplanationText in Route35NationalParkGate.asm
text "The Bug-Catching" text "The Bug-Catching"
line "Contest is held on" line "Contest is held on"

View File

@ -35,7 +35,7 @@ VermilionPort_MapScripts:
blackoutmod VERMILION_CITY blackoutmod VERMILION_CITY
end end
VermilionPortSailorAtGangway: VermilionPortSailorAtGangwayScript:
faceplayer faceplayer
opentext opentext
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
@ -102,7 +102,7 @@ VermilionPortWalkUpToShipScript:
closetext closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2 setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
applymovement PLAYER, MovementData_0x74ef8 applymovement PLAYER, MovementData_0x74ef8
jump VermilionPortSailorAtGangway jump VermilionPortSailorAtGangwayScript
.NoTicket: .NoTicket:
writetext UnknownText_0x74ff2 writetext UnknownText_0x74ff2
@ -164,7 +164,7 @@ VermilionPortSailorScript:
closetext closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2 setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
applymovement PLAYER, MovementData_0x74efe applymovement PLAYER, MovementData_0x74efe
jump VermilionPortSailorAtGangway jump VermilionPortSailorAtGangwayScript
.NoTicket: .NoTicket:
writetext UnknownText_0x74ff2 writetext UnknownText_0x74ff2
@ -310,6 +310,6 @@ VermilionPort_MapEvents:
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron
db 3 ; object events db 3 ; object events
object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorAtGangway, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorAtGangwayScript, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorScript, -1 object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorScript, -1
object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSuperNerdScript, -1 object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSuperNerdScript, -1