Birdkeeper Jose and Cooltrainerf Reena

This commit is contained in:
surskitty
2018-01-16 13:26:13 -05:00
parent d588033748
commit fb02e4bde5

View File

@@ -37,7 +37,7 @@ UnknownScript_0x1a0881:
UnknownScript_0x1a088c: UnknownScript_0x1a088c:
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
opentext opentext
writetext UnknownText_0x1a0a6b writetext Route27FisherHeyText
buttonsound buttonsound
writetext Route27FisherText writetext Route27FisherText
waitbutton waitbutton
@@ -67,31 +67,31 @@ TrainerBirdKeeperJose2:
end_if_just_battled end_if_just_battled
opentext opentext
checkflag ENGINE_JOSE checkflag ENGINE_JOSE
iftrue UnknownScript_0x1a08ff iftrue .WantsBattle
checkflag ENGINE_JOSE_HAS_STAR_PIECE checkflag ENGINE_JOSE_HAS_STAR_PIECE
iftrue UnknownScript_0x1a0945 iftrue .HasStarPiece
checkcellnum PHONE_BIRDKEEPER_JOSE checkcellnum PHONE_BIRDKEEPER_JOSE
iftrue UnknownScript_0x1a0963 iftrue .NumberAccepted
checkevent EVENT_JOSE_ASKED_FOR_PHONE_NUMBER checkevent EVENT_JOSE_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a08e8 iftrue .AskedAlready
writetext UnknownText_0x1a0e42 writetext BirdKeeperJose2AfterBattleText
buttonsound buttonsound
setevent EVENT_JOSE_ASKED_FOR_PHONE_NUMBER setevent EVENT_JOSE_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x1a0957 scall .AskNumber1
jump UnknownScript_0x1a08eb jump .AskForNumber
UnknownScript_0x1a08e8: .AskedAlready:
scall UnknownScript_0x1a095b scall .AskNumber2
UnknownScript_0x1a08eb: .AskForNumber:
askforphonenumber PHONE_BIRDKEEPER_JOSE askforphonenumber PHONE_BIRDKEEPER_JOSE
if_equal $1, UnknownScript_0x1a096b if_equal $1, .PhoneFull
if_equal $2, UnknownScript_0x1a0967 if_equal $2, .NumberDeclined
trainertotext BIRD_KEEPER, JOSE2, $0 trainertotext BIRD_KEEPER, JOSE2, $0
scall UnknownScript_0x1a095f scall .RegisteredNumber
jump UnknownScript_0x1a0963 jump .NumberAccepted
UnknownScript_0x1a08ff: .WantsBattle:
scall UnknownScript_0x1a096f scall .Rematch
winlosstext BirdKeeperJose2BeatenText, 0 winlosstext BirdKeeperJose2BeatenText, 0
copybytetovar wJoseFightCount copybytetovar wJoseFightCount
if_equal 2, .Fight2 if_equal 2, .Fight2
@@ -126,49 +126,49 @@ UnknownScript_0x1a08ff:
clearflag ENGINE_JOSE clearflag ENGINE_JOSE
end end
UnknownScript_0x1a0945: .HasStarPiece:
scall UnknownScript_0x1a0973 scall .Gift
verbosegiveitem STAR_PIECE verbosegiveitem STAR_PIECE
iffalse UnknownScript_0x1a0954 iffalse .NoRoom
clearflag ENGINE_JOSE_HAS_STAR_PIECE clearflag ENGINE_JOSE_HAS_STAR_PIECE
jump UnknownScript_0x1a0963 jump .NumberAccepted
UnknownScript_0x1a0954: .NoRoom:
jump UnknownScript_0x1a0977 jump .PackFull
UnknownScript_0x1a0957: .AskNumber1:
jumpstd asknumber1m jumpstd asknumber1m
end end
UnknownScript_0x1a095b: .AskNumber2:
jumpstd asknumber2m jumpstd asknumber2m
end end
UnknownScript_0x1a095f: .RegisteredNumber:
jumpstd registerednumberm jumpstd registerednumberm
end end
UnknownScript_0x1a0963: .NumberAccepted:
jumpstd numberacceptedm jumpstd numberacceptedm
end end
UnknownScript_0x1a0967: .NumberDeclined:
jumpstd numberdeclinedm jumpstd numberdeclinedm
end end
UnknownScript_0x1a096b: .PhoneFull:
jumpstd phonefullm jumpstd phonefullm
end end
UnknownScript_0x1a096f: .Rematch:
jumpstd rematchm jumpstd rematchm
end end
UnknownScript_0x1a0973: .Gift:
jumpstd giftm jumpstd giftm
end end
UnknownScript_0x1a0977: .PackFull:
jumpstd packfullm jumpstd packfullm
end end
@@ -195,37 +195,37 @@ TrainerCooltrainermBrian:
end end
TrainerCooltrainerfReena: TrainerCooltrainerfReena:
trainer EVENT_BEAT_COOLTRAINERF_REENA, COOLTRAINERF, REENA1, CooltrainerfReena1SeenText, CooltrainerfReena1BeatenText, 0, .Script trainer EVENT_BEAT_COOLTRAINERF_REENA, COOLTRAINERF, REENA1, CooltrainerfReenaSeenText, CooltrainerfReenaBeatenText, 0, .Script
.Script: .Script:
writecode VAR_CALLERID, PHONE_COOLTRAINERF_REENA writecode VAR_CALLERID, PHONE_COOLTRAINERF_REENA
end_if_just_battled end_if_just_battled
opentext opentext
checkflag ENGINE_REENA checkflag ENGINE_REENA
iftrue UnknownScript_0x1a09e9 iftrue .WantsBattle
checkcellnum PHONE_COOLTRAINERF_REENA checkcellnum PHONE_COOLTRAINERF_REENA
iftrue UnknownScript_0x1a0a3b iftrue .NumberAccepted
checkevent EVENT_REENA_ASKED_FOR_PHONE_NUMBER checkevent EVENT_REENA_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a09d2 iftrue .AskedAlready
writetext UnknownText_0x1a0c35 writetext CooltrainerfReenaAfterBattleText
buttonsound buttonsound
setevent EVENT_REENA_ASKED_FOR_PHONE_NUMBER setevent EVENT_REENA_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x1a0a2f scall .AskNumber1
jump UnknownScript_0x1a09d5 jump .AskForNumber
UnknownScript_0x1a09d2: .AskedAlready:
scall UnknownScript_0x1a0a33 scall .AskNumber2
UnknownScript_0x1a09d5: .AskForNumber:
askforphonenumber PHONE_COOLTRAINERF_REENA askforphonenumber PHONE_COOLTRAINERF_REENA
if_equal $1, UnknownScript_0x1a0a43 if_equal $1, .PhoneFull
if_equal $2, UnknownScript_0x1a0a3f if_equal $2, .NumberDeclined
trainertotext COOLTRAINERF, REENA1, $0 trainertotext COOLTRAINERF, REENA1, $0
scall UnknownScript_0x1a0a37 scall .RegisteredNumber
jump UnknownScript_0x1a0a3b jump .NumberAccepted
UnknownScript_0x1a09e9: .WantsBattle:
scall UnknownScript_0x1a0a47 scall .Rematch
winlosstext CooltrainerfReena1BeatenText, 0 winlosstext CooltrainerfReenaBeatenText, 0
copybytetovar wReenaFightCount copybytetovar wReenaFightCount
if_equal 2, .Fight2 if_equal 2, .Fight2
if_equal 1, .Fight1 if_equal 1, .Fight1
@@ -259,31 +259,31 @@ UnknownScript_0x1a09e9:
clearflag ENGINE_REENA clearflag ENGINE_REENA
end end
UnknownScript_0x1a0a2f: .AskNumber1:
jumpstd asknumber1f jumpstd asknumber1f
end end
UnknownScript_0x1a0a33: .AskNumber2:
jumpstd asknumber2f jumpstd asknumber2f
end end
UnknownScript_0x1a0a37: .RegisteredNumber:
jumpstd registerednumberf jumpstd registerednumberf
end end
UnknownScript_0x1a0a3b: .NumberAccepted:
jumpstd numberacceptedf jumpstd numberacceptedf
end end
UnknownScript_0x1a0a3f: .NumberDeclined:
jumpstd numberdeclinedf jumpstd numberdeclinedf
end end
UnknownScript_0x1a0a43: .PhoneFull:
jumpstd phonefullf jumpstd phonefullf
end end
UnknownScript_0x1a0a47: .Rematch:
jumpstd rematchf jumpstd rematchf
end end
@@ -316,7 +316,7 @@ MovementData_0x1a0a69:
step LEFT step LEFT
step_end step_end
UnknownText_0x1a0a6b: Route27FisherHeyText:
text "Hey!" text "Hey!"
done done
@@ -369,7 +369,7 @@ CooltrainermBrianAfterBattleText:
cont "good trainers." cont "good trainers."
done done
CooltrainerfReena1SeenText: CooltrainerfReenaSeenText:
text "You shouldn't" text "You shouldn't"
line "underestimate the" line "underestimate the"
@@ -377,12 +377,12 @@ CooltrainerfReena1SeenText:
line "these parts." line "these parts."
done done
CooltrainerfReena1BeatenText: CooltrainerfReenaBeatenText:
text "Oh! You're much" text "Oh! You're much"
line "too strong!" line "too strong!"
done done
UnknownText_0x1a0c35: CooltrainerfReenaAfterBattleText:
text "You're just a kid," text "You're just a kid,"
line "but you're not to" line "but you're not to"
@@ -452,7 +452,7 @@ BirdKeeperJose2BeatenText:
text "Tweet!" text "Tweet!"
done done
UnknownText_0x1a0e42: BirdKeeperJose2AfterBattleText:
text "BIRD KEEPERS like" text "BIRD KEEPERS like"
line "me mimic bird" line "me mimic bird"