Sailor Huey labels

This commit is contained in:
surskitty 2018-02-02 11:02:31 -05:00
parent b94c1f7084
commit f1e4951cf1
1 changed files with 38 additions and 38 deletions

View File

@ -20,36 +20,36 @@ TrainerGentlemanAlfred:
closetext closetext
end end
TrainerSailorHuey1: TrainerSailorHuey:
trainer EVENT_BEAT_SAILOR_HUEY, SAILOR, HUEY1, SailorHuey1SeenText, SailorHuey1BeatenText, 0, .Script trainer EVENT_BEAT_SAILOR_HUEY, SAILOR, HUEY1, SailorHueySeenText, SailorHueyBeatenText, 0, .Script
.Script: .Script:
writecode VAR_CALLERID, PHONE_SAILOR_HUEY writecode VAR_CALLERID, PHONE_SAILOR_HUEY
end_if_just_battled end_if_just_battled
opentext opentext
checkflag ENGINE_HUEY checkflag ENGINE_HUEY
iftrue UnknownScript_0x5afc7 iftrue .WantsBattle
checkcellnum PHONE_SAILOR_HUEY checkcellnum PHONE_SAILOR_HUEY
iftrue UnknownScript_0x5b05f iftrue .NumberAccepted
checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x5afb0 iftrue .AskedBefore
setevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER setevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x5b053 scall .AskNumber1
jump UnknownScript_0x5afb3 jump .AskForNumber
UnknownScript_0x5afb0: .AskedBefore:
scall UnknownScript_0x5b057 scall .AskNumber2
UnknownScript_0x5afb3: .AskForNumber:
askforphonenumber PHONE_SAILOR_HUEY askforphonenumber PHONE_SAILOR_HUEY
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x5b067 if_equal PHONE_CONTACTS_FULL, .PhoneFull
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x5b063 if_equal PHONE_CONTACT_REFUSED, .NumberDeclined
trainertotext SAILOR, HUEY1, MEM_BUFFER_0 trainertotext SAILOR, HUEY1, MEM_BUFFER_0
scall UnknownScript_0x5b05b scall .RegisteredNumber
jump UnknownScript_0x5b05f jump .NumberAccepted
UnknownScript_0x5afc7: .WantsBattle:
scall UnknownScript_0x5b06b scall .Rematch
winlosstext SailorHuey1BeatenText, 0 winlosstext SailorHueyBeatenText, 0
copybytetovar wHueyFightCount copybytetovar wHueyFightCount
if_equal 3, .Fight3 if_equal 3, .Fight3
if_equal 2, .Fight2 if_equal 2, .Fight2
@ -94,72 +94,72 @@ UnknownScript_0x5afc7:
reloadmapafterbattle reloadmapafterbattle
clearflag ENGINE_HUEY clearflag ENGINE_HUEY
checkevent EVENT_HUEY_PROTEIN checkevent EVENT_HUEY_PROTEIN
iftrue UnknownScript_0x5b03f iftrue .HasProtein
checkevent EVENT_GOT_PROTEIN_FROM_HUEY checkevent EVENT_GOT_PROTEIN_FROM_HUEY
iftrue UnknownScript_0x5b03e iftrue .SkipGift
scall UnknownScript_0x5b076 scall .RematchGift
verbosegiveitem PROTEIN verbosegiveitem PROTEIN
iffalse UnknownScript_0x5b06f iffalse .PackFull
setevent EVENT_GOT_PROTEIN_FROM_HUEY setevent EVENT_GOT_PROTEIN_FROM_HUEY
jump UnknownScript_0x5b05f jump .NumberAccepted
UnknownScript_0x5b03e: .SkipGift:
end end
UnknownScript_0x5b03f: .HasProtein:
opentext opentext
writetext UnknownText_0x5b1b6 writetext UnknownText_0x5b1b6
waitbutton waitbutton
verbosegiveitem PROTEIN verbosegiveitem PROTEIN
iffalse UnknownScript_0x5b06f iffalse .PackFull
clearevent EVENT_HUEY_PROTEIN clearevent EVENT_HUEY_PROTEIN
setevent EVENT_GOT_PROTEIN_FROM_HUEY setevent EVENT_GOT_PROTEIN_FROM_HUEY
jump UnknownScript_0x5b05f jump .NumberAccepted
UnknownScript_0x5b053: .AskNumber1:
jumpstd asknumber1m jumpstd asknumber1m
end end
UnknownScript_0x5b057: .AskNumber2:
jumpstd asknumber2m jumpstd asknumber2m
end end
UnknownScript_0x5b05b: .RegisteredNumber:
jumpstd registerednumberm jumpstd registerednumberm
end end
UnknownScript_0x5b05f: .NumberAccepted:
jumpstd numberacceptedm jumpstd numberacceptedm
end end
UnknownScript_0x5b063: .NumberDeclined:
jumpstd numberdeclinedm jumpstd numberdeclinedm
end end
UnknownScript_0x5b067: .PhoneFull:
jumpstd phonefullm jumpstd phonefullm
end end
UnknownScript_0x5b06b: .Rematch:
jumpstd rematchm jumpstd rematchm
end end
UnknownScript_0x5b06f: .PackFull:
setevent EVENT_HUEY_PROTEIN setevent EVENT_HUEY_PROTEIN
jumpstd packfullm jumpstd packfullm
end end
UnknownScript_0x5b076: .RematchGift:
jumpstd rematchgiftm jumpstd rematchgiftm
end end
SailorHuey1SeenText: SailorHueySeenText:
text "Men of the sea are" text "Men of the sea are"
line "always spoiling" line "always spoiling"
cont "for a good fight!" cont "for a good fight!"
done done
SailorHuey1BeatenText: SailorHueyBeatenText:
text "Urf!" text "Urf!"
line "I lose!" line "I lose!"
done done
@ -225,5 +225,5 @@ OlivineLighthouse2F_MapEvents:
.ObjectEvents: .ObjectEvents:
db 2 db 2
object_event 9, 3, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorHuey1, -1 object_event 9, 3, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorHuey, -1
object_event 17, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerGentlemanAlfred, -1 object_event 17, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerGentlemanAlfred, -1