Auto-label more map scripts

This commit is contained in:
Remy Oukaour
2017-12-17 20:45:04 -05:00
parent 3ed016f9e0
commit 17058aaec2
90 changed files with 788 additions and 787 deletions

View File

@@ -16,77 +16,77 @@ CeladonGameCorner_MapScriptHeader:
.MapCallbacks:
db 0
ClerkScript_0x7211d:
CeladonGameCornerClerkScript:
jumpstd gamecornercoinvendor
CeladonGameCornerReceptionistScript:
jumptextfaceplayer CeladonGameCornerReceptionistText
PokefanMScript_0x72123:
CeladonGameCornerPokefanMScript:
faceplayer
opentext
writetext UnknownText_0x72215
writetext CeladonGameCornerPokefanMText
waitbutton
closetext
spriteface CELADONGAMECORNER_POKEFAN_M, LEFT
end
TeacherScript_0x7212e:
CeladonGameCornerTeacherScript:
faceplayer
opentext
writetext UnknownText_0x72242
writetext CeladonGameCornerTeacherText
waitbutton
closetext
spriteface CELADONGAMECORNER_TEACHER, RIGHT
end
FishingGuruScript_0x72139:
CeladonGameCornerFishingGuruScript:
faceplayer
opentext
writetext UnknownText_0x72295
writetext CeladonGameCornerFishingGuruText
waitbutton
closetext
spriteface CELADONGAMECORNER_FISHING_GURU, RIGHT
end
FisherScript_0x72144:
CeladonGameCornerFisherScript:
faceplayer
opentext
checkevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
iftrue .UnknownScript_0x72169
writetext UnknownText_0x722dc
iftrue .GotCoins
writetext CeladonGameCornerFisherText1
buttonsound
checkitem COIN_CASE
iffalse UnknownScript_0x7217b
iffalse .NoCoinCase
checkcoins 9998
if_equal $0, UnknownScript_0x72184
if_equal $0, .FullCoinCase
stringtotext .coinname, $1
scall .UnknownScript_0x72172
scall .GiveCoins
givecoins 18
setevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
.UnknownScript_0x72169:
writetext UnknownText_0x72345
.GotCoins:
writetext CeladonGameCornerFisherText2
waitbutton
closetext
spriteface LAST_TALKED, LEFT
end
.UnknownScript_0x72172:
.GiveCoins:
jumpstd receiveitem
end
.coinname
db "COIN@"
UnknownScript_0x7217b:
writetext UnknownText_0x7238a
.NoCoinCase:
writetext CeladonGameCornerFisherNoCoinCaseText
waitbutton
closetext
spriteface LAST_TALKED, LEFT
end
UnknownScript_0x72184:
writetext UnknownText_0x723d9
.FullCoinCase:
writetext CeladonGameCornerFisherFullCoinCaseText
waitbutton
closetext
spriteface LAST_TALKED, LEFT
@@ -95,45 +95,45 @@ UnknownScript_0x72184:
CeladonGymGuyScript:
jumptextfaceplayer CeladonGymGuyText
GrampsScript_0x72190:
CeladonGameCornerGrampsScript:
faceplayer
opentext
writetext UnknownText_0x724ad
writetext CeladonGameCornerGrampsText
waitbutton
closetext
spriteface CELADONGAMECORNER_GRAMPS, LEFT
end
MapCeladonGameCornerSignpost36Script:
jumptext UnknownText_0x724f3
CeladonGameCornerPoster1Script:
jumptext CeladonGameCornerPoster1Text
MapCeladonGameCornerSignpost37Script:
jumptext UnknownText_0x72521
CeladonGameCornerPoster2Script:
jumptext CeladonGameCornerPoster2Text
MapCeladonGameCornerSignpost35Script:
CeladonGameCornerLuckySlotMachineScript:
random $6
if_equal $0, MapCeladonGameCornerSignpost16Script
if_equal $0, CeladonGameCornerSlotMachineScript
refreshscreen $0
writebyte $0
special Special_SlotMachine
closetext
end
MapCeladonGameCornerSignpost16Script:
CeladonGameCornerSlotMachineScript:
refreshscreen $0
writebyte $1
special Special_SlotMachine
closetext
end
MapCeladonGameCornerSignpost11Script:
CeladonGameCornerCardFlipScript:
refreshscreen $0
special Special_CardFlip
closetext
end
MapCeladonGameCornerSignpost32Script:
jumptext UnknownText_0x7254f
CeladonGameCornerLighterScript:
jumptext CeladonGameCornerLighterText
MapCeladonGameCornerSignpost9Script:
opentext
@@ -159,13 +159,13 @@ CeladonGameCornerReceptionistText:
line "next door."
done
UnknownText_0x72215:
CeladonGameCornerPokefanMText:
text "The slot machines"
line "are all state of"
cont "the art."
done
UnknownText_0x72242:
CeladonGameCornerTeacherText:
text "It's this machine"
line "I want."
@@ -176,7 +176,7 @@ UnknownText_0x72242:
line "today."
done
UnknownText_0x72295:
CeladonGameCornerFishingGuruText:
text "I think this slot"
line "machine will pay"
cont "out…"
@@ -185,7 +185,7 @@ UnknownText_0x72295:
line "among machines."
done
UnknownText_0x722dc:
CeladonGameCornerFisherText1:
text "Gahahaha!"
para "The coins just"
@@ -198,7 +198,7 @@ UnknownText_0x722dc:
line "with you!"
done
UnknownText_0x72345:
CeladonGameCornerFisherText2:
text "Gahahaha!"
para "It makes me feel"
@@ -208,7 +208,7 @@ UnknownText_0x72345:
line "people!"
done
UnknownText_0x7238a:
CeladonGameCornerFisherNoCoinCaseText:
text "Hey, you don't"
line "have a COIN CASE."
@@ -217,7 +217,7 @@ UnknownText_0x7238a:
cont "coins, kid?"
done
UnknownText_0x723d9:
CeladonGameCornerFisherFullCoinCaseText:
text "Hey, your COIN"
line "CASE is full, kid."
@@ -241,7 +241,7 @@ CeladonGymGuyText:
line "enough coins yet…"
done
UnknownText_0x724ad:
CeladonGameCornerGrampsText:
text "Hmmm… The odds are"
line "surely better for"
@@ -249,7 +249,7 @@ UnknownText_0x724ad:
line "but… What to do?"
done
UnknownText_0x724f3:
CeladonGameCornerPoster1Text:
text "Hey!"
para "Underneath this"
@@ -258,7 +258,7 @@ UnknownText_0x724f3:
para "There's nothing!"
done
UnknownText_0x72521:
CeladonGameCornerPoster2Text:
text "Hey!"
para "Underneath this"
@@ -267,7 +267,7 @@ UnknownText_0x72521:
para "There's nothing!"
done
UnknownText_0x7254f:
CeladonGameCornerLighterText:
text "There's a lighter"
line "here."
done
@@ -295,53 +295,53 @@ CeladonGameCorner_MapEventHeader:
.Signposts:
db 38
signpost 6, 1, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 7, 1, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 8, 1, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 9, 1, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 10, 1, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 11, 1, SIGNPOST_LEFT, MapCeladonGameCornerSignpost11Script
signpost 6, 6, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 7, 6, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 8, 6, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 6, 1, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 7, 1, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 8, 1, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 9, 1, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 10, 1, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 11, 1, SIGNPOST_LEFT, CeladonGameCornerCardFlipScript
signpost 6, 6, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 7, 6, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 8, 6, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 9, 6, SIGNPOST_READ, MapCeladonGameCornerSignpost9Script
signpost 10, 6, SIGNPOST_READ, MapCeladonGameCornerSignpost11Script
signpost 11, 6, SIGNPOST_RIGHT, MapCeladonGameCornerSignpost11Script
signpost 6, 7, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 7, 7, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 8, 7, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 9, 7, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 10, 7, SIGNPOST_READ, MapCeladonGameCornerSignpost16Script
signpost 11, 7, SIGNPOST_LEFT, MapCeladonGameCornerSignpost35Script
signpost 6, 12, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 7, 12, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 8, 12, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 9, 12, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 10, 12, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 11, 12, SIGNPOST_RIGHT, MapCeladonGameCornerSignpost35Script
signpost 6, 13, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 7, 13, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 8, 13, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 9, 13, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 10, 13, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 11, 13, SIGNPOST_LEFT, MapCeladonGameCornerSignpost35Script
signpost 6, 18, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 7, 18, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 8, 18, SIGNPOST_READ, MapCeladonGameCornerSignpost32Script
signpost 9, 18, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 10, 18, SIGNPOST_READ, MapCeladonGameCornerSignpost35Script
signpost 11, 18, SIGNPOST_RIGHT, MapCeladonGameCornerSignpost35Script
signpost 0, 15, SIGNPOST_READ, MapCeladonGameCornerSignpost36Script
signpost 0, 9, SIGNPOST_READ, MapCeladonGameCornerSignpost37Script
signpost 10, 6, SIGNPOST_READ, CeladonGameCornerCardFlipScript
signpost 11, 6, SIGNPOST_RIGHT, CeladonGameCornerCardFlipScript
signpost 6, 7, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 7, 7, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 8, 7, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 9, 7, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 10, 7, SIGNPOST_READ, CeladonGameCornerSlotMachineScript
signpost 11, 7, SIGNPOST_LEFT, CeladonGameCornerLuckySlotMachineScript
signpost 6, 12, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 7, 12, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 8, 12, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 9, 12, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 10, 12, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 11, 12, SIGNPOST_RIGHT, CeladonGameCornerLuckySlotMachineScript
signpost 6, 13, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 7, 13, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 8, 13, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 9, 13, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 10, 13, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 11, 13, SIGNPOST_LEFT, CeladonGameCornerLuckySlotMachineScript
signpost 6, 18, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 7, 18, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 8, 18, SIGNPOST_READ, CeladonGameCornerLighterScript
signpost 9, 18, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 10, 18, SIGNPOST_READ, CeladonGameCornerLuckySlotMachineScript
signpost 11, 18, SIGNPOST_RIGHT, CeladonGameCornerLuckySlotMachineScript
signpost 0, 15, SIGNPOST_READ, CeladonGameCornerPoster1Script
signpost 0, 9, SIGNPOST_READ, CeladonGameCornerPoster2Script
.PersonEvents:
db 9
person_event SPRITE_CLERK, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, ClerkScript_0x7211d, -1
person_event SPRITE_CLERK, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CeladonGameCornerClerkScript, -1
person_event SPRITE_RECEPTIONIST, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CeladonGameCornerReceptionistScript, -1
person_event SPRITE_POKEFAN_M, 10, 14, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x72123, -1
person_event SPRITE_TEACHER, 7, 17, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, TeacherScript_0x7212e, -1
person_event SPRITE_FISHING_GURU, 7, 11, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, FishingGuruScript_0x72139, -1
person_event SPRITE_FISHER, 10, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, DAY, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, FisherScript_0x72144, -1
person_event SPRITE_FISHER, 10, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, NITE, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, FisherScript_0x72144, -1
person_event SPRITE_POKEFAN_M, 10, 14, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CeladonGameCornerPokefanMScript, -1
person_event SPRITE_TEACHER, 7, 17, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, CeladonGameCornerTeacherScript, -1
person_event SPRITE_FISHING_GURU, 7, 11, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CeladonGameCornerFishingGuruScript, -1
person_event SPRITE_FISHER, 10, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, DAY, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CeladonGameCornerFisherScript, -1
person_event SPRITE_FISHER, 10, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, NITE, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CeladonGameCornerFisherScript, -1
person_event SPRITE_GYM_GUY, 3, 11, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CeladonGymGuyScript, -1
person_event SPRITE_GRAMPS, 8, 2, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, GrampsScript_0x72190, -1
person_event SPRITE_GRAMPS, 8, 2, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CeladonGameCornerGrampsScript, -1