Merge pull request #395 from surskitty/master

Some Script Labels
This commit is contained in:
Marcus Huderle 2017-11-21 17:18:29 -08:00 committed by GitHub
commit c28be02a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 404 additions and 404 deletions

View File

@ -22,16 +22,16 @@ MomPhoneScript: ; 0xbceaa
buttonsound buttonsound
mapnametotext $0 mapnametotext $0
checkcode VAR_ROOFPALETTE checkcode VAR_ROOFPALETTE
if_equal $1, UnknownScript_0xbcee7 if_equal $1, MomPhonePalette1
if_equal $2, UnknownScript_0xbcf27 if_equal $2, MomPhonePalette2
jump UnknownScript_0xbcf2f jump UnknownScript_0xbcf2f
UnknownScript_0xbcedf: ; 0xbcedf MomPhoneLandmark: ; 0xbcedf
farwritetext UnknownText_0x1b4021 farwritetext MomPhoneLandmarkText
buttonsound buttonsound
jump UnknownScript_0xbcf37 jump UnknownScript_0xbcf37
UnknownScript_0xbcee7: ; 0xbcee7 MomPhonePalette1: ; 0xbcee7
checkcode VAR_MAPGROUP checkcode VAR_MAPGROUP
if_equal GROUP_NEW_BARK_TOWN, .newbark if_equal GROUP_NEW_BARK_TOWN, .newbark
if_equal GROUP_CHERRYGROVE_CITY, .cherrygrove if_equal GROUP_CHERRYGROVE_CITY, .cherrygrove
@ -54,39 +54,39 @@ UnknownScript_0xbcee7: ; 0xbcee7
.violet ; 0xbcf15 .violet ; 0xbcf15
landmarktotext SPROUT_TOWER, 1 landmarktotext SPROUT_TOWER, 1
jump UnknownScript_0xbcedf jump MomPhoneLandmark
.azalea ; 0xbcf1b .azalea ; 0xbcf1b
landmarktotext SLOWPOKE_WELL, 1 landmarktotext SLOWPOKE_WELL, 1
jump UnknownScript_0xbcedf jump MomPhoneLandmark
.goldenrod ; 0xbcf21 .goldenrod ; 0xbcf21
landmarktotext RADIO_TOWER, 1 landmarktotext RADIO_TOWER, 1
jump UnknownScript_0xbcedf jump MomPhoneLandmark
UnknownScript_0xbcf27: ; 0xbcf27 MomPhonePalette2: ; 0xbcf27
farwritetext UnknownText_0x1b411c farwritetext MomOtherAreaText
buttonsound buttonsound
jump UnknownScript_0xbcf37 jump UnknownScript_0xbcf37
UnknownScript_0xbcf2f: ; 0xbcf2f UnknownScript_0xbcf2f: ; 0xbcf2f
farwritetext UnknownText_0x1b4150 farwritetext MomDeterminedText
buttonsound buttonsound
jump UnknownScript_0xbcf37 jump UnknownScript_0xbcf37
UnknownScript_0xbcf37: ; 0xbcf37 UnknownScript_0xbcf37: ; 0xbcf37
checkflag ENGINE_MOM_SAVING_MONEY checkflag ENGINE_MOM_SAVING_MONEY
iffalse UnknownScript_0xbcf49 iffalse CheckIfMomHasMoney
checkmoney $1, 0 checkmoney $1, 0
if_equal $0, UnknownScript_0xbcf55 if_equal $0, UnknownScript_0xbcf55
jump UnknownScript_0xbcf63 jump UnknownScript_0xbcf63
UnknownScript_0xbcf49: ; 0xbcf49 CheckIfMomHasMoney: ; 0xbcf49
checkmoney $1, 0 checkmoney $1, 0
if_equal $0, UnknownScript_0xbcf79 if_equal $0, MomHasMoney
jump UnknownScript_0xbcf6e jump MomHasNoMoney
UnknownScript_0xbcf55: ; 0xbcf55 UnknownScript_0xbcf55: ; 0xbcf55
readmoney $1, $0 readmoney $1, $0
farwritetext UnknownText_0x1b41a7 farwritetext MomCheckBalanceText
yesorno yesorno
iftrue MomPhoneSaveMoneyScript iftrue MomPhoneSaveMoneyScript
jump MomPhoneWontSaveMoneyScript jump MomPhoneWontSaveMoneyScript
@ -97,13 +97,13 @@ UnknownScript_0xbcf63: ; 0xbcf63
iftrue MomPhoneSaveMoneyScript iftrue MomPhoneSaveMoneyScript
jump MomPhoneWontSaveMoneyScript jump MomPhoneWontSaveMoneyScript
UnknownScript_0xbcf6e: ; 0xbcf6e MomHasNoMoney: ; 0xbcf6e
farwritetext UnknownText_0x1b420d farwritetext UnknownText_0x1b420d
yesorno yesorno
iftrue MomPhoneSaveMoneyScript iftrue MomPhoneSaveMoneyScript
jump MomPhoneWontSaveMoneyScript jump MomPhoneWontSaveMoneyScript
UnknownScript_0xbcf79: ; 0xbcf79 MomHasMoney: ; 0xbcf79
readmoney $1, $0 readmoney $1, $0
farwritetext UnknownText_0x1b4249 farwritetext UnknownText_0x1b4249
yesorno yesorno

View File

@ -1,32 +1,32 @@
SweetScentFromMenu: ; 506bc SweetScentFromMenu: ; 506bc
ld hl, UnknownScript_0x506c8 ld hl, .SweetScent
call QueueScript call QueueScript
ld a, $1 ld a, $1
ld [wFieldMoveSucceeded], a ld [wFieldMoveSucceeded], a
ret ret
; 506c8 ; 506c8
UnknownScript_0x506c8: ; 0x506c8 .SweetScent: ; 0x506c8
reloadmappart reloadmappart
special UpdateTimePals special UpdateTimePals
callasm GetPartyNick callasm GetPartyNick
writetext UnknownText_0x50726 writetext UnknownText_0x50726
waitbutton waitbutton
callasm SweetScentEncounter callasm SweetScentEncounter
iffalse UnknownScript_0x506e9 iffalse SweetScentNothing
checkflag ENGINE_BUG_CONTEST_TIMER checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x506e5 iftrue .BugCatchingContest
randomwildmon randomwildmon
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
end end
; 0x506e5 ; 0x506e5
UnknownScript_0x506e5: ; 0x506e5 .BugCatchingContest: ; 0x506e5
farjump BugCatchingContestBattleScript farjump BugCatchingContestBattleScript
; 0x506e9 ; 0x506e9
UnknownScript_0x506e9: ; 0x506e9 SweetScentNothing: ; 0x506e9
writetext UnknownText_0x5072b writetext UnknownText_0x5072b
waitbutton waitbutton
closetext closetext

View File

@ -14,8 +14,8 @@ BurnedTowerB1F_MapScriptHeader:
db 2 db 2
; triggers ; triggers
dw UnknownScript_0x18615e, 0 dw .Trigger0, 0
dw UnknownScript_0x18615f, 0 dw .Trigger1, 0
.MapCallbacks: .MapCallbacks:
db 1 db 1
@ -24,10 +24,10 @@ BurnedTowerB1F_MapScriptHeader:
dbw MAPCALLBACK_TILES, BurnedTowerB1FLadderCallback dbw MAPCALLBACK_TILES, BurnedTowerB1FLadderCallback
UnknownScript_0x18615e: .Trigger0:
end end
UnknownScript_0x18615f: .Trigger1:
end end
BurnedTowerB1FLadderCallback: BurnedTowerB1FLadderCallback:

View File

@ -12,76 +12,76 @@ CeladonCafe_MapScriptHeader:
.MapCallbacks: .MapCallbacks:
db 0 db 0
SuperNerdScript_0x73049: CeladonCafeChef:
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x730de writetext ChefText_Eatathon
waitbutton waitbutton
closetext closetext
end end
FisherScript_0x73051: CeladonCafeFisher1:
opentext opentext
writetext UnknownText_0x73129 writetext Fisher1Text_Snarfle
waitbutton waitbutton
closetext closetext
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x7313a writetext Fisher1Text_Concentration
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_FISHER1, LEFT spriteface CELADONCAFE_FISHER1, LEFT
end end
FisherScript_0x73062: CeladonCafeFisher2:
opentext opentext
writetext UnknownText_0x7316a writetext Fisher2Text_GulpChew
waitbutton waitbutton
closetext closetext
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x73178 writetext Fisher2Text_Quantity
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_FISHER2, RIGHT spriteface CELADONCAFE_FISHER2, RIGHT
end end
FisherScript_0x73073: CeladonCafeFisher3:
opentext opentext
writetext UnknownText_0x731ae writetext Fisher3Text_MunchMunch
waitbutton waitbutton
closetext closetext
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x731bd writetext Fisher3Text_GoldenrodIsBest
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_FISHER3, RIGHT spriteface CELADONCAFE_FISHER3, RIGHT
end end
TeacherScript_0x73084: CeladonCafeTeacher:
checkitem COIN_CASE checkitem COIN_CASE
iftrue UnknownScript_0x7309a iftrue .HasCoinCase
opentext opentext
writetext UnknownText_0x73201 writetext TeacherText_CrunchCrunch
waitbutton waitbutton
closetext closetext
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x73212 writetext TeacherText_NoCoinCase
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_TEACHER, LEFT spriteface CELADONCAFE_TEACHER, LEFT
end end
UnknownScript_0x7309a: .HasCoinCase:
opentext opentext
writetext UnknownText_0x73254 writetext TeacherText_KeepEating
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_TEACHER, RIGHT spriteface CELADONCAFE_TEACHER, RIGHT
opentext opentext
writetext UnknownText_0x73278 writetext TeacherText_MoreChef
waitbutton waitbutton
closetext closetext
spriteface CELADONCAFE_TEACHER, LEFT spriteface CELADONCAFE_TEACHER, LEFT
@ -118,7 +118,7 @@ CeladonCafeTrashcan:
.TrashEmpty: .TrashEmpty:
jumpstd trashcan jumpstd trashcan
UnknownText_0x730de: ChefText_Eatathon:
text "Hi!" text "Hi!"
para "We're holding an" para "We're holding an"
@ -128,22 +128,22 @@ UnknownText_0x730de:
line "right now. Sorry." line "right now. Sorry."
done done
UnknownText_0x73129: Fisher1Text_Snarfle:
text "…Snarfle, chew…" text "…Snarfle, chew…"
done done
UnknownText_0x7313a: Fisher1Text_Concentration:
text "Don't talk to me!" text "Don't talk to me!"
para "You'll break my" para "You'll break my"
line "concentration!" line "concentration!"
done done
UnknownText_0x7316a: Fisher2Text_GulpChew:
text "…Gulp… Chew…" text "…Gulp… Chew…"
done done
UnknownText_0x73178: Fisher2Text_Quantity:
text "I take quantity" text "I take quantity"
line "over quality!" line "over quality!"
@ -151,22 +151,22 @@ UnknownText_0x73178:
line "full!" line "full!"
done done
UnknownText_0x731ae: Fisher3Text_MunchMunch:
text "Munch, munch…" text "Munch, munch…"
done done
UnknownText_0x731bd: Fisher3Text_GoldenrodIsBest:
text "The food is good" text "The food is good"
line "here, but GOLDEN-" line "here, but GOLDEN-"
cont "ROD has the best" cont "ROD has the best"
cont "food anywhere." cont "food anywhere."
done done
UnknownText_0x73201: TeacherText_CrunchCrunch:
text "Crunch… Crunch…" text "Crunch… Crunch…"
done done
UnknownText_0x73212: TeacherText_NoCoinCase:
text "Nobody here will" text "Nobody here will"
line "give you a COIN" line "give you a COIN"
@ -174,13 +174,13 @@ UnknownText_0x73212:
line "look in JOHTO." line "look in JOHTO."
done done
UnknownText_0x73254: TeacherText_KeepEating:
text "Crunch… Crunch…" text "Crunch… Crunch…"
para "I can keep eating!" para "I can keep eating!"
done done
UnknownText_0x73278: TeacherText_MoreChef:
text "More, CHEF!" text "More, CHEF!"
done done
@ -226,8 +226,8 @@ CeladonCafe_MapEventHeader:
.PersonEvents: .PersonEvents:
db 5 db 5
person_event SPRITE_SUPER_NERD, 3, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x73049, -1 person_event SPRITE_SUPER_NERD, 3, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, CeladonCafeChef, -1
person_event SPRITE_FISHER, 6, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FisherScript_0x73051, -1 person_event SPRITE_FISHER, 6, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CeladonCafeFisher1, -1
person_event SPRITE_FISHER, 7, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, FisherScript_0x73062, -1 person_event SPRITE_FISHER, 7, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CeladonCafeFisher2, -1
person_event SPRITE_FISHER, 2, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FisherScript_0x73073, -1 person_event SPRITE_FISHER, 2, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CeladonCafeFisher3, -1
person_event SPRITE_TEACHER, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, TeacherScript_0x73084, -1 person_event SPRITE_TEACHER, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CeladonCafeTeacher, -1

View File

@ -10,19 +10,19 @@ CeruleanMart_MapScriptHeader:
.MapCallbacks: .MapCallbacks:
db 0 db 0
ClerkScript_0x188ac0: CeruleanMart_Clerk:
opentext opentext
pokemart MARTTYPE_STANDARD, MART_CERULEAN pokemart MARTTYPE_STANDARD, MART_CERULEAN
closetext closetext
end end
CooltrainerMScript_0x188ac7: CeruleanMart_CooltrainerM:
jumptextfaceplayer UnknownText_0x188acd jumptextfaceplayer CeruleanMart_CooltrainerMText
CooltrainerFScript_0x188aca: CeruleanMart_CooltrainerF:
jumptextfaceplayer UnknownText_0x188b46 jumptextfaceplayer CeruleanMart_CooltrainerFText
UnknownText_0x188acd: CeruleanMart_CooltrainerMText:
text "You'll run into" text "You'll run into"
line "many trainers on" line "many trainers on"
@ -36,7 +36,7 @@ UnknownText_0x188acd:
line "trainers." line "trainers."
done done
UnknownText_0x188b46: CeruleanMart_CooltrainerFText:
text "MISTY is about the" text "MISTY is about the"
line "only person in" line "only person in"
@ -62,6 +62,6 @@ CeruleanMart_MapEventHeader:
.PersonEvents: .PersonEvents:
db 3 db 3
person_event SPRITE_CLERK, 3, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ClerkScript_0x188ac0, -1 person_event SPRITE_CLERK, 3, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CeruleanMart_Clerk, -1
person_event SPRITE_COOLTRAINER_M, 6, 1, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CooltrainerMScript_0x188ac7, -1 person_event SPRITE_COOLTRAINER_M, 6, 1, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CeruleanMart_CooltrainerM, -1
person_event SPRITE_COOLTRAINER_F, 2, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CooltrainerFScript_0x188aca, -1 person_event SPRITE_COOLTRAINER_F, 2, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CeruleanMart_CooltrainerF, -1

View File

@ -36,12 +36,12 @@ CianwoodCity_MapScriptHeader:
setflag ENGINE_FLYPOINT_CIANWOOD setflag ENGINE_FLYPOINT_CIANWOOD
setevent EVENT_EUSINE_IN_BURNED_TOWER setevent EVENT_EUSINE_IN_BURNED_TOWER
checkevent EVENT_FOUGHT_EUSINE checkevent EVENT_FOUGHT_EUSINE
iffalse UnknownScript_0x1a001d iffalse .Done
disappear CIANWOODCITY_EUSINE disappear CIANWOODCITY_EUSINE
UnknownScript_0x1a001d: .Done:
return return
UnknownScript_0x1a001e: CianwoodCitySuicuneAndEusine:
spriteface PLAYER, UP spriteface PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
pause 15 pause 15
@ -63,10 +63,10 @@ UnknownScript_0x1a001e:
appear CIANWOODCITY_EUSINE appear CIANWOODCITY_EUSINE
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7 applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7
opentext opentext
writetext UnknownText_0x1a0433 writetext EusineSuicuneText
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x1a05a1, 0 winlosstext EusineBeatenText, 0
setlasttalked CIANWOODCITY_EUSINE setlasttalked CIANWOODCITY_EUSINE
loadtrainer MYSTICALMAN, EUSINE loadtrainer MYSTICALMAN, EUSINE
startbattle startbattle
@ -74,7 +74,7 @@ UnknownScript_0x1a001e:
reloadmapafterbattle reloadmapafterbattle
playmusic MUSIC_MYSTICALMAN_ENCOUNTER playmusic MUSIC_MYSTICALMAN_ENCOUNTER
opentext opentext
writetext UnknownText_0x1a05c3 writetext EusineAfterText
waitbutton waitbutton
closetext closetext
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00ec applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00ec
@ -86,43 +86,43 @@ UnknownScript_0x1a001e:
.Done: .Done:
end end
PokefanFScript_0x1a0084: CianwoodCityChucksWife:
faceplayer faceplayer
opentext opentext
checkevent EVENT_GOT_HM02_FLY checkevent EVENT_GOT_HM02_FLY
iftrue UnknownScript_0x1a00ad iftrue .GotFly
writetext UnknownText_0x1a00f1 writetext ChucksWifeEasierToFlyText
buttonsound buttonsound
checkevent EVENT_BEAT_CHUCK checkevent EVENT_BEAT_CHUCK
iftrue UnknownScript_0x1a009c iftrue .BeatChuck
writetext UnknownText_0x1a0163 writetext ChucksWifeBeatChuckText
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x1a009c: .BeatChuck:
writetext UnknownText_0x1a01e3 writetext ChucksWifeGiveHMText
buttonsound buttonsound
verbosegiveitem HM_FLY verbosegiveitem HM_FLY
iffalse UnknownScript_0x1a00b1 iffalse .Done
setevent EVENT_GOT_HM02_FLY setevent EVENT_GOT_HM02_FLY
writetext UnknownText_0x1a021d writetext ChucksWifeFlySpeechText
buttonsound buttonsound
UnknownScript_0x1a00ad: .GotFly:
writetext UnknownText_0x1a0277 writetext ChucksWifeChubbyText
waitbutton waitbutton
UnknownScript_0x1a00b1: .Done:
closetext closetext
end end
StandingYoungsterScript_0x1a00b3: CianwoodCityYoungster:
jumptextfaceplayer UnknownText_0x1a02df jumptextfaceplayer CianwoodCityYoungsterText
PokefanMScript_0x1a00b6: CianwoodCityPokefanM:
jumptextfaceplayer UnknownText_0x1a0319 jumptextfaceplayer CianwoodCityPokefanMText
LassScript_0x1a00b9: CianwoodCityLass:
jumptextfaceplayer UnknownText_0x1a0394 jumptextfaceplayer CianwoodCityLassText
UnknownScript_0x1a00bc: UnknownScript_0x1a00bc:
jumptextfaceplayer UnknownText_0x1a03cc jumptextfaceplayer UnknownText_0x1a03cc
@ -185,7 +185,7 @@ MovementData_0x1a00ec:
step DOWN step DOWN
step_end step_end
UnknownText_0x1a00f1: ChucksWifeEasierToFlyText:
text "You crossed the" text "You crossed the"
line "sea to get here?" line "sea to get here?"
@ -199,7 +199,7 @@ UnknownText_0x1a00f1:
line "to FLY…" line "to FLY…"
done done
UnknownText_0x1a0163: ChucksWifeBeatChuckText:
text "But you can't use" text "But you can't use"
line "FLY without this" line "FLY without this"
cont "city's GYM BADGE." cont "city's GYM BADGE."
@ -212,7 +212,7 @@ UnknownText_0x1a0163:
line "gift for you." line "gift for you."
done done
UnknownText_0x1a01e3: ChucksWifeGiveHMText:
text "That's CIANWOOD's" text "That's CIANWOOD's"
line "GYM BADGE!" line "GYM BADGE!"
@ -220,7 +220,7 @@ UnknownText_0x1a01e3:
line "take this HM." line "take this HM."
done done
UnknownText_0x1a021d: ChucksWifeFlySpeechText:
text "Teach FLY to your" text "Teach FLY to your"
line "#MON." line "#MON."
@ -231,7 +231,7 @@ UnknownText_0x1a021d:
line "have visited." line "have visited."
done done
UnknownText_0x1a0277: ChucksWifeChubbyText:
text "My husband lost to" text "My husband lost to"
line "you, so he needs" line "you, so he needs"
cont "to train harder." cont "to train harder."
@ -241,7 +241,7 @@ UnknownText_0x1a0277:
cont "little chubby." cont "little chubby."
done done
UnknownText_0x1a02df: CianwoodCityYoungsterText:
text "If you use FLY," text "If you use FLY,"
line "you can get back" line "you can get back"
@ -249,7 +249,7 @@ UnknownText_0x1a02df:
line "stantly." line "stantly."
done done
UnknownText_0x1a0319: CianwoodCityPokefanMText:
text "Boulders to the" text "Boulders to the"
line "north of town can" line "north of town can"
cont "be crushed." cont "be crushed."
@ -262,7 +262,7 @@ UnknownText_0x1a0319:
cont "break them." cont "break them."
done done
UnknownText_0x1a0394: CianwoodCityLassText:
text "CHUCK, the GYM" text "CHUCK, the GYM"
line "LEADER, spars with" line "LEADER, spars with"
@ -281,7 +281,7 @@ UnknownText_0x1a03cc:
cont "ly lives there." cont "ly lives there."
done done
UnknownText_0x1a0433: EusineSuicuneText:
text "EUSINE: Yo," text "EUSINE: Yo,"
line "<PLAYER>." line "<PLAYER>."
@ -319,12 +319,12 @@ UnknownText_0x1a0433:
line "Let's battle now!" line "Let's battle now!"
done done
UnknownText_0x1a05a1: EusineBeatenText:
text "I hate to admit" text "I hate to admit"
line "it, but you win." line "it, but you win."
done done
UnknownText_0x1a05c3: EusineAfterText:
text "You're amazing," text "You're amazing,"
line "<PLAYER>!" line "<PLAYER>!"
@ -400,7 +400,7 @@ CianwoodCity_MapEventHeader:
.XYTriggers: .XYTriggers:
db 1 db 1
xy_trigger 1, $10, $b, $0, UnknownScript_0x1a001e, $0, $0 xy_trigger 1, $10, $b, $0, CianwoodCitySuicuneAndEusine, $0, $0
.Signposts: .Signposts:
db 8 db 8
@ -415,15 +415,15 @@ CianwoodCity_MapEventHeader:
.PersonEvents: .PersonEvents:
db 12 db 12
person_event SPRITE_STANDING_YOUNGSTER, 37, 21, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, StandingYoungsterScript_0x1a00b3, -1 person_event SPRITE_STANDING_YOUNGSTER, 37, 21, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CianwoodCityYoungster, -1
person_event SPRITE_POKEFAN_M, 33, 17, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x1a00b6, -1 person_event SPRITE_POKEFAN_M, 33, 17, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityPokefanM, -1
person_event SPRITE_LASS, 42, 14, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, LassScript_0x1a00b9, -1 person_event SPRITE_LASS, 42, 14, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityLass, -1
person_event SPRITE_ROCK, 16, 8, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 16, 8, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_ROCK, 17, 9, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 17, 9, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_ROCK, 25, 4, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 25, 4, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_ROCK, 29, 5, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 29, 5, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_ROCK, 27, 10, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 27, 10, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_ROCK, 19, 4, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1 person_event SPRITE_ROCK, 19, 4, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityRock, -1
person_event SPRITE_POKEFAN_F, 46, 10, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, PokefanFScript_0x1a0084, -1 person_event SPRITE_POKEFAN_F, 46, 10, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodCityChucksWife, -1
person_event SPRITE_SUPER_NERD, 21, 11, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_CIANWOOD_CITY_EUSINE person_event SPRITE_SUPER_NERD, 21, 11, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_CIANWOOD_CITY_EUSINE
person_event SPRITE_SUICUNE, 14, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY person_event SPRITE_SUICUNE, 14, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY

View File

@ -19,7 +19,7 @@ EcruteakGym_MapScriptHeader:
db 0 db 0
UnknownScript_0x99d53: UnknownScript_0x99d53:
priorityjump UnknownScript_0x99dc6 priorityjump EcruteakGymClosed
end end
UnknownScript_0x99d57: UnknownScript_0x99d57:
@ -39,7 +39,7 @@ MortyScript_0x99d58:
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_MORTY setevent EVENT_BEAT_MORTY
opentext opentext
writetext UnknownText_0x9a043 writetext Text_ReceivedFogBadge
playsound SFX_GET_BADGE playsound SFX_GET_BADGE
waitsfx waitsfx
setflag ENGINE_FOGBADGE setflag ENGINE_FOGBADGE
@ -50,25 +50,25 @@ MortyScript_0x99d58:
setevent EVENT_RANG_CLEAR_BELL_2 setevent EVENT_RANG_CLEAR_BELL_2
.FightDone: .FightDone:
checkevent EVENT_GOT_TM30_SHADOW_BALL checkevent EVENT_GOT_TM30_SHADOW_BALL
iftrue UnknownScript_0x99db1 iftrue .GotShadowBall
setevent EVENT_BEAT_SAGE_JEFFREY setevent EVENT_BEAT_SAGE_JEFFREY
setevent EVENT_BEAT_SAGE_PING setevent EVENT_BEAT_SAGE_PING
setevent EVENT_BEAT_MEDIUM_MARTHA setevent EVENT_BEAT_MEDIUM_MARTHA
setevent EVENT_BEAT_MEDIUM_GRACE setevent EVENT_BEAT_MEDIUM_GRACE
writetext UnknownText_0x9a059 writetext MortyText_FogBadgeSpeech
buttonsound buttonsound
verbosegiveitem TM_SHADOW_BALL verbosegiveitem TM_SHADOW_BALL
iffalse UnknownScript_0x99db5 iffalse .NoRoomForShadowBall
setevent EVENT_GOT_TM30_SHADOW_BALL setevent EVENT_GOT_TM30_SHADOW_BALL
writetext UnknownText_0x9a0ec writetext MortyText_ShadowBallSpeech
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x99db1: .GotShadowBall:
writetext UnknownText_0x9a145 writetext UnknownText_0x9a145
waitbutton waitbutton
UnknownScript_0x99db5: .NoRoomForShadowBall:
closetext closetext
end end
@ -83,7 +83,7 @@ EcruteakGymTriggerRockets:
.RadioTowerRockets: .RadioTowerRockets:
jumpstd radiotowerrockets jumpstd radiotowerrockets
UnknownScript_0x99dc6: EcruteakGymClosed:
applymovement PLAYER, MovementData_0x99e5d applymovement PLAYER, MovementData_0x99e5d
applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63 applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63
opentext opentext
@ -230,12 +230,12 @@ UnknownText_0x9a00a:
line "BADGE is yours." line "BADGE is yours."
done done
UnknownText_0x9a043: Text_ReceivedFogBadge:
text "<PLAYER> received" text "<PLAYER> received"
line "FOGBADGE." line "FOGBADGE."
done done
UnknownText_0x9a059: MortyText_FogBadgeSpeech:
text "By having FOG-" text "By having FOG-"
line "BADGE, #MON up" line "BADGE, #MON up"
@ -252,7 +252,7 @@ UnknownText_0x9a059:
line "this too." line "this too."
done done
UnknownText_0x9a0ec: MortyText_ShadowBallSpeech:
text "It's SHADOW BALL." text "It's SHADOW BALL."
line "It causes damage" line "It causes damage"

View File

@ -18,14 +18,14 @@ FuchsiaCity_MapScriptHeader:
setflag ENGINE_FLYPOINT_FUCHSIA setflag ENGINE_FLYPOINT_FUCHSIA
return return
YoungsterScript_0x194b22: FuchsiaCityYoungster:
jumptextfaceplayer UnknownText_0x194b45 jumptextfaceplayer FuchsiaCityYoungsterText
PokefanMScript_0x194b25: FuchsiaCityPokefanM:
jumptextfaceplayer UnknownText_0x194b83 jumptextfaceplayer FuchsiaCityPokefanMText
TeacherScript_0x194b28: FuchsiaCityTeacher:
jumptextfaceplayer UnknownText_0x194bd3 jumptextfaceplayer FuchsiaCityTeacherText
FuchsiaCitySign: FuchsiaCitySign:
jumptext FuchsiaCitySignText jumptext FuchsiaCitySignText
@ -51,10 +51,10 @@ FuchsiaCityPokeCenterSign:
FuchsiaCityMartSign: FuchsiaCityMartSign:
jumpstd martsign jumpstd martsign
FruitTreeScript_0x194b43: FuchsiaCityFruitTree:
fruittree FRUITTREE_FUCHSIA_CITY fruittree FRUITTREE_FUCHSIA_CITY
UnknownText_0x194b45: FuchsiaCityYoungsterText:
text "One of the ELITE" text "One of the ELITE"
line "FOUR used to be" line "FOUR used to be"
@ -62,7 +62,7 @@ UnknownText_0x194b45:
line "FUCHSIA's GYM." line "FUCHSIA's GYM."
done done
UnknownText_0x194b83: FuchsiaCityPokefanMText:
text "KOGA's daughter" text "KOGA's daughter"
line "succeeded him as" line "succeeded him as"
@ -71,7 +71,7 @@ UnknownText_0x194b83:
cont "the ELITE FOUR." cont "the ELITE FOUR."
done done
UnknownText_0x194bd3: FuchsiaCityTeacherText:
text "The SAFARI ZONE is" text "The SAFARI ZONE is"
line "closed… It's sad," line "closed… It's sad,"
@ -160,7 +160,7 @@ FuchsiaCity_MapEventHeader:
.PersonEvents: .PersonEvents:
db 4 db 4
person_event SPRITE_YOUNGSTER, 18, 23, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x194b22, -1 person_event SPRITE_YOUNGSTER, 18, 23, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, FuchsiaCityYoungster, -1
person_event SPRITE_POKEFAN_M, 8, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x194b25, -1 person_event SPRITE_POKEFAN_M, 8, 13, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, FuchsiaCityPokefanM, -1
person_event SPRITE_TEACHER, 14, 16, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, TeacherScript_0x194b28, -1 person_event SPRITE_TEACHER, 14, 16, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, FuchsiaCityTeacher, -1
person_event SPRITE_FRUIT_TREE, 1, 8, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FruitTreeScript_0x194b43, -1 person_event SPRITE_FRUIT_TREE, 1, 8, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FuchsiaCityFruitTree, -1

View File

@ -13,16 +13,16 @@ FuchsiaGym_MapScriptHeader:
.MapCallbacks: .MapCallbacks:
db 0 db 0
JanineScript_0x195db9: FuchsiaGymJanineScript:
checkflag ENGINE_SOULBADGE checkflag ENGINE_SOULBADGE
iftrue .FightDone iftrue .FightDone
applymovement FUCHSIAGYM_JANINE, MovementData_0x195f27 applymovement FUCHSIAGYM_JANINE, Movement_NinjaSpin
faceplayer faceplayer
opentext opentext
writetext UnknownText_0x195f35 writetext JanineText_DisappointYou
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x195fa1, 0 winlosstext JanineText_ToughOne, 0
loadtrainer JANINE, 1 loadtrainer JANINE, 1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
@ -37,159 +37,159 @@ JanineScript_0x195db9:
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX
opentext opentext
writetext UnknownText_0x195feb writetext Text_ReceivedSoulBadge
playsound SFX_GET_BADGE playsound SFX_GET_BADGE
waitsfx waitsfx
setflag ENGINE_SOULBADGE setflag ENGINE_SOULBADGE
jump UnknownScript_0x195e02 jump .AfterBattle
.FightDone: .FightDone:
faceplayer faceplayer
opentext opentext
UnknownScript_0x195e02: .AfterBattle:
checkevent EVENT_GOT_TM06_TOXIC checkevent EVENT_GOT_TM06_TOXIC
iftrue UnknownScript_0x195e15 iftrue .AfterTM
writetext UnknownText_0x196002 writetext JanineText_ToxicSpeech
buttonsound buttonsound
verbosegiveitem TM_TOXIC verbosegiveitem TM_TOXIC
iffalse UnknownScript_0x195e15 iffalse .AfterTM
setevent EVENT_GOT_TM06_TOXIC setevent EVENT_GOT_TM06_TOXIC
UnknownScript_0x195e15: .AfterTM:
writetext UnknownText_0x196074 writetext JanineText_ApplyMyself
waitbutton waitbutton
closetext closetext
end end
FuschiaGym1Script_0x195e1b: LassAliceScript:
checkevent EVENT_BEAT_LASS_ALICE checkevent EVENT_BEAT_LASS_ALICE
iftrue UnknownScript_0x195e2c iftrue .AliceUnmasked
applymovement FUCHSIAGYM_FUCHSIA_GYM_1, MovementData_0x195f27 applymovement FUCHSIAGYM_FUCHSIA_GYM_1, Movement_NinjaSpin
faceplayer faceplayer
variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_LASS variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX
UnknownScript_0x195e2c: .AliceUnmasked:
faceplayer faceplayer
opentext opentext
checkevent EVENT_BEAT_LASS_ALICE checkevent EVENT_BEAT_LASS_ALICE
iftrue UnknownScript_0x195e4f iftrue .AliceAfterScript
writetext UnknownText_0x1960e6 writetext LassAliceBeforeText
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x196126, 0 winlosstext LassAliceBeatenText, 0
loadtrainer LASS, ALICE loadtrainer LASS, ALICE
startbattle startbattle
iftrue UnknownScript_0x195e4a iftrue .AliceBecomesJanine
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_LASS_ALICE setevent EVENT_BEAT_LASS_ALICE
end end
UnknownScript_0x195e4a: .AliceBecomesJanine:
variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_JANINE variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_JANINE
reloadmapafterbattle reloadmapafterbattle
end end
UnknownScript_0x195e4f: .AliceAfterScript:
writetext UnknownText_0x196139 writetext LassAliceAfterText
waitbutton waitbutton
closetext closetext
end end
FuschiaGym2Script_0x195e55: LassLindaScript:
checkevent EVENT_BEAT_LASS_LINDA checkevent EVENT_BEAT_LASS_LINDA
iftrue UnknownScript_0x195e66 iftrue .LindaUnmasked
applymovement FUCHSIAGYM_FUCHSIA_GYM_2, MovementData_0x195f27 applymovement FUCHSIAGYM_FUCHSIA_GYM_2, Movement_NinjaSpin
faceplayer faceplayer
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX
UnknownScript_0x195e66: .LindaUnmasked:
faceplayer faceplayer
opentext opentext
checkevent EVENT_BEAT_LASS_LINDA checkevent EVENT_BEAT_LASS_LINDA
iftrue UnknownScript_0x195e89 iftrue .LindaAfterScript
writetext UnknownText_0x196166 writetext LassLindaBeforeText
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x19617b, 0 winlosstext LassLindaBeatenText, 0
loadtrainer LASS, LINDA loadtrainer LASS, LINDA
startbattle startbattle
iftrue UnknownScript_0x195e84 iftrue .LindaBecomesJanine
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_LASS_LINDA setevent EVENT_BEAT_LASS_LINDA
end end
UnknownScript_0x195e84: .LindaBecomesJanine:
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_JANINE variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_JANINE
reloadmapafterbattle reloadmapafterbattle
end end
UnknownScript_0x195e89: .LindaAfterScript:
writetext UnknownText_0x196199 writetext LassLindaAfterText
waitbutton waitbutton
closetext closetext
end end
FuschiaGym3Script_0x195e8f: PicnickerCindyScript:
checkevent EVENT_BEAT_PICNICKER_CINDY checkevent EVENT_BEAT_PICNICKER_CINDY
iftrue UnknownScript_0x195ea0 iftrue .CindyUnmasked
applymovement FUCHSIAGYM_FUCHSIA_GYM_3, MovementData_0x195f27 applymovement FUCHSIAGYM_FUCHSIA_GYM_3, Movement_NinjaSpin
faceplayer faceplayer
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX
UnknownScript_0x195ea0: .CindyUnmasked:
faceplayer faceplayer
opentext opentext
checkevent EVENT_BEAT_PICNICKER_CINDY checkevent EVENT_BEAT_PICNICKER_CINDY
iftrue UnknownScript_0x195ec3 iftrue .CindyAfterScript
writetext UnknownText_0x1961bb writetext PicnickerCindyBeforeText
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x1961f1, 0 winlosstext PicnickerCindyBeatenText, 0
loadtrainer PICNICKER, CINDY loadtrainer PICNICKER, CINDY
startbattle startbattle
iftrue UnknownScript_0x195ebe iftrue .CindyBecomesJanine
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_PICNICKER_CINDY setevent EVENT_BEAT_PICNICKER_CINDY
end end
UnknownScript_0x195ebe: .CindyBecomesJanine:
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_JANINE variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_JANINE
reloadmapafterbattle reloadmapafterbattle
end end
UnknownScript_0x195ec3: .CindyAfterScript:
writetext UnknownText_0x19620c writetext UnknownText_0x19620c
waitbutton waitbutton
closetext closetext
end end
FuschiaGym4Script_0x195ec9: CamperBarryScript:
checkevent EVENT_BEAT_CAMPER_BARRY checkevent EVENT_BEAT_CAMPER_BARRY
iftrue UnknownScript_0x195eda iftrue .BarryUnmasked
applymovement FUCHSIAGYM_FUCHSIA_GYM_4, MovementData_0x195f27 applymovement FUCHSIAGYM_FUCHSIA_GYM_4, Movement_NinjaSpin
faceplayer faceplayer
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX
UnknownScript_0x195eda: .BarryUnmasked:
faceplayer faceplayer
opentext opentext
checkevent EVENT_BEAT_CAMPER_BARRY checkevent EVENT_BEAT_CAMPER_BARRY
iftrue UnknownScript_0x195efd iftrue .BarryAfterScript
writetext UnknownText_0x196228 writetext CamperBarryBeforeText
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x19624a, 0 winlosstext CamperBarryBeatenText, 0
loadtrainer CAMPER, BARRY loadtrainer CAMPER, BARRY
startbattle startbattle
iftrue UnknownScript_0x195ef8 iftrue .BarryBecomesJanine
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_CAMPER_BARRY setevent EVENT_BEAT_CAMPER_BARRY
end end
UnknownScript_0x195ef8: .BarryBecomesJanine:
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_JANINE variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_JANINE
reloadmapafterbattle reloadmapafterbattle
end end
UnknownScript_0x195efd: .BarryAfterScript:
writetext UnknownText_0x19626b writetext UnknownText_0x19626b
waitbutton waitbutton
closetext closetext
@ -219,7 +219,7 @@ FuchsiaGymStatue:
trainertotext JANINE, 1, $1 trainertotext JANINE, 1, $1
jumpstd gymstatue2 jumpstd gymstatue2
MovementData_0x195f27: Movement_NinjaSpin:
turn_head DOWN turn_head DOWN
turn_head LEFT turn_head LEFT
turn_head UP turn_head UP
@ -235,7 +235,7 @@ MovementData_0x195f27:
turn_head DOWN turn_head DOWN
step_end step_end
UnknownText_0x195f35: JanineText_DisappointYou:
text "Fufufufu…" text "Fufufufu…"
para "I'm sorry to dis-" para "I'm sorry to dis-"
@ -249,7 +249,7 @@ UnknownText_0x195f35:
line "GYM, that's me!" line "GYM, that's me!"
done done
UnknownText_0x195fa1: JanineText_ToughOne:
text "JANINE: You're a" text "JANINE: You're a"
line "tough one. You" line "tough one. You"
cont "definitely won…" cont "definitely won…"
@ -258,12 +258,12 @@ UnknownText_0x195fa1:
line "Take it." line "Take it."
done done
UnknownText_0x195feb: Text_ReceivedSoulBadge:
text "<PLAYER> received" text "<PLAYER> received"
line "SOULBADGE." line "SOULBADGE."
done done
UnknownText_0x196002: JanineText_ToxicSpeech:
text "JANINE: You're so" text "JANINE: You're so"
line "tough! I have a" line "tough! I have a"
cont "special gift!" cont "special gift!"
@ -275,7 +275,7 @@ UnknownText_0x196002:
line "victim's HP." line "victim's HP."
done done
UnknownText_0x196074: JanineText_ApplyMyself:
text "JANINE: I'm going" text "JANINE: I'm going"
line "to really apply" line "to really apply"
@ -287,7 +287,7 @@ UnknownText_0x196074:
cont "Father and you!" cont "Father and you!"
done done
UnknownText_0x1960e6: LassAliceBeforeText:
text "Fufufu!" text "Fufufu!"
para "I'm JANINE, the" para "I'm JANINE, the"
@ -297,32 +297,32 @@ UnknownText_0x1960e6:
line "Gotcha, sucker!" line "Gotcha, sucker!"
done done
UnknownText_0x196126: LassAliceBeatenText:
text "I had you fooled…" text "I had you fooled…"
done done
UnknownText_0x196139: LassAliceAfterText:
text "How will you dis-" text "How will you dis-"
line "tinguish our real" line "tinguish our real"
cont "LEADER?" cont "LEADER?"
done done
UnknownText_0x196166: LassLindaBeforeText:
text "Fooled you!" text "Fooled you!"
line "Hahaha!" line "Hahaha!"
done done
UnknownText_0x19617b: LassLindaBeatenText:
text "Ooh… I lost…" text "Ooh… I lost…"
line "You're not weak…" line "You're not weak…"
done done
UnknownText_0x196199: LassLindaAfterText:
text "Well? Wasn't my" text "Well? Wasn't my"
line "disguise perfect?" line "disguise perfect?"
done done
UnknownText_0x1961bb: PicnickerCindyBeforeText:
text "I'm JANINE!" text "I'm JANINE!"
para "How did you know I" para "How did you know I"
@ -331,7 +331,7 @@ UnknownText_0x1961bb:
para "Let's battle!" para "Let's battle!"
done done
UnknownText_0x1961f1: PicnickerCindyBeatenText:
text "Darn it!" text "Darn it!"
line "I wanted to win!" line "I wanted to win!"
done done
@ -341,14 +341,14 @@ UnknownText_0x19620c:
line "getting tired." line "getting tired."
done done
UnknownText_0x196228: CamperBarryBeforeText:
text "Wahahaha!" text "Wahahaha!"
para "You betcha!" para "You betcha!"
line "I'm JANINE!" line "I'm JANINE!"
done done
UnknownText_0x19624a: CamperBarryBeatenText:
text "My disguise was" text "My disguise was"
line "right on! Dang!" line "right on! Dang!"
done done
@ -399,9 +399,9 @@ FuchsiaGym_MapEventHeader:
.PersonEvents: .PersonEvents:
db 6 db 6
person_event SPRITE_JANINE, 10, 1, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, JanineScript_0x195db9, -1 person_event SPRITE_JANINE, 10, 1, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuchsiaGymJanineScript, -1
person_event SPRITE_FUCHSIA_GYM_1, 7, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuschiaGym1Script_0x195e1b, -1 person_event SPRITE_FUCHSIA_GYM_1, 7, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, LassAliceScript, -1
person_event SPRITE_FUCHSIA_GYM_2, 11, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuschiaGym2Script_0x195e55, -1 person_event SPRITE_FUCHSIA_GYM_2, 11, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, LassLindaScript, -1
person_event SPRITE_FUCHSIA_GYM_3, 4, 9, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuschiaGym3Script_0x195e8f, -1 person_event SPRITE_FUCHSIA_GYM_3, 4, 9, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, PicnickerCindyScript, -1
person_event SPRITE_FUCHSIA_GYM_4, 2, 4, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuschiaGym4Script_0x195ec9, -1 person_event SPRITE_FUCHSIA_GYM_4, 2, 4, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, CamperBarryScript, -1
person_event SPRITE_GYM_GUY, 15, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuchsiaGymGuyScript, -1 person_event SPRITE_GYM_GUY, 15, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, FuchsiaGymGuyScript, -1

View File

@ -19,16 +19,16 @@ PryceScript_0x199a9e:
opentext opentext
checkevent EVENT_BEAT_PRYCE checkevent EVENT_BEAT_PRYCE
iftrue .FightDone iftrue .FightDone
writetext UnknownText_0x199b8d writetext PryceText_Intro
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x199cb3, 0 winlosstext PryceText_Impressed, 0
loadtrainer PRYCE, 1 loadtrainer PRYCE, 1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_PRYCE setevent EVENT_BEAT_PRYCE
opentext opentext
writetext UnknownText_0x199d3b writetext Text_ReceivedGlacierBadge
playsound SFX_GET_BADGE playsound SFX_GET_BADGE
waitsfx waitsfx
setflag ENGINE_GLACIERBADGE setflag ENGINE_GLACIERBADGE
@ -36,26 +36,26 @@ PryceScript_0x199a9e:
scall MahoganyGymTriggerRockets scall MahoganyGymTriggerRockets
.FightDone: .FightDone:
checkevent EVENT_GOT_TM16_ICY_WIND checkevent EVENT_GOT_TM16_ICY_WIND
iftrue UnknownScript_0x199af0 iftrue PryceScript_Defeat
setevent EVENT_BEAT_SKIER_ROXANNE setevent EVENT_BEAT_SKIER_ROXANNE
setevent EVENT_BEAT_SKIER_CLARISSA setevent EVENT_BEAT_SKIER_CLARISSA
setevent EVENT_BEAT_BOARDER_RONALD setevent EVENT_BEAT_BOARDER_RONALD
setevent EVENT_BEAT_BOARDER_BRAD setevent EVENT_BEAT_BOARDER_BRAD
setevent EVENT_BEAT_BOARDER_DOUGLAS setevent EVENT_BEAT_BOARDER_DOUGLAS
writetext UnknownText_0x199d55 writetext PryceText_GlacierBadgeSpeech
buttonsound buttonsound
verbosegiveitem TM_ICY_WIND verbosegiveitem TM_ICY_WIND
iffalse UnknownScript_0x199af4 iffalse MahoganyGym_NoRoomForIcyWind
setevent EVENT_GOT_TM16_ICY_WIND setevent EVENT_GOT_TM16_ICY_WIND
writetext UnknownText_0x199def writetext PryceText_IcyWindSpeech
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x199af0: PryceScript_Defeat:
writetext UnknownText_0x199e59 writetext PryceText_CherishYourPokemon
waitbutton waitbutton
UnknownScript_0x199af4: MahoganyGym_NoRoomForIcyWind:
closetext closetext
end end
@ -109,7 +109,7 @@ TrainerBoarderBrad:
BoarderBradScript: BoarderBradScript:
end_if_just_battled end_if_just_battled
opentext opentext
writetext UnknownText_0x199fdd writetext BorderBradTalkText
waitbutton waitbutton
closetext closetext
end end
@ -120,7 +120,7 @@ TrainerBoarderDouglas:
BoarderDouglasScript: BoarderDouglasScript:
end_if_just_battled end_if_just_battled
opentext opentext
writetext UnknownText_0x19a047 writetext BorderDouglasTalkText
waitbutton waitbutton
closetext closetext
end end
@ -149,7 +149,7 @@ MahoganyGymStatue:
trainertotext PRYCE, 1, $1 trainertotext PRYCE, 1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x199b8d: PryceText_Intro:
text "#MON have many" text "#MON have many"
line "experiences in" line "experiences in"
@ -180,7 +180,7 @@ UnknownText_0x199b8d:
line "my power!" line "my power!"
done done
UnknownText_0x199cb3: PryceText_Impressed:
text "Ah, I am impressed" text "Ah, I am impressed"
line "by your prowess." line "by your prowess."
@ -194,12 +194,12 @@ UnknownText_0x199cb3:
line "this BADGE!" line "this BADGE!"
done done
UnknownText_0x199d3b: Text_ReceivedGlacierBadge:
text "<PLAYER> received" text "<PLAYER> received"
line "GLACIERBADGE." line "GLACIERBADGE."
done done
UnknownText_0x199d55: PryceText_GlacierBadgeSpeech:
text "That BADGE will" text "That BADGE will"
line "raise the SPECIAL" line "raise the SPECIAL"
cont "stats of #MON." cont "stats of #MON."
@ -213,7 +213,7 @@ UnknownText_0x199d55:
line "a gift from me!" line "a gift from me!"
done done
UnknownText_0x199def: PryceText_IcyWindSpeech:
text "That TM contains" text "That TM contains"
line "ICY WIND." line "ICY WIND."
@ -225,7 +225,7 @@ UnknownText_0x199def:
cont "winter." cont "winter."
done done
UnknownText_0x199e59: PryceText_CherishYourPokemon:
text "When the ice and" text "When the ice and"
line "snow melt, spring" line "snow melt, spring"
cont "arrives." cont "arrives."
@ -276,7 +276,7 @@ BoarderBradBeatenText:
line "serious we are?" line "serious we are?"
done done
UnknownText_0x199fdd: BorderBradTalkText:
text "This GYM is great." text "This GYM is great."
line "I love boarding" line "I love boarding"
cont "with my #MON!" cont "with my #MON!"
@ -292,7 +292,7 @@ BoarderDouglasBeatenText:
line "PRYCE's secret." line "PRYCE's secret."
done done
UnknownText_0x19a047: BorderDouglasTalkText:
text "The secret behind" text "The secret behind"
line "PRYCE's power…" line "PRYCE's power…"

View File

@ -14,16 +14,16 @@ JasmineScript_0x9c12f:
opentext opentext
checkevent EVENT_BEAT_JASMINE checkevent EVENT_BEAT_JASMINE
iftrue .FightDone iftrue .FightDone
writetext UnknownText_0x9c1b9 writetext Jasmine_SteelTypeIntro
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x9c2bb, 0 winlosstext Jasmine_BetterTrainer, 0
loadtrainer JASMINE, 1 loadtrainer JASMINE, 1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_JASMINE setevent EVENT_BEAT_JASMINE
opentext opentext
writetext UnknownText_0x9c33a writetext Text_ReceivedMineralBadge
playsound SFX_GET_BADGE playsound SFX_GET_BADGE
waitsfx waitsfx
setflag ENGINE_MINERALBADGE setflag ENGINE_MINERALBADGE
@ -31,21 +31,21 @@ JasmineScript_0x9c12f:
scall OlivineGymTriggerRockets scall OlivineGymTriggerRockets
.FightDone: .FightDone:
checkevent EVENT_GOT_TM23_IRON_TAIL checkevent EVENT_GOT_TM23_IRON_TAIL
iftrue UnknownScript_0x9c172 iftrue .GotIronTail
writetext UnknownText_0x9c354 writetext Jasmine_BadgeSpeech
buttonsound buttonsound
verbosegiveitem TM_IRON_TAIL verbosegiveitem TM_IRON_TAIL
iffalse UnknownScript_0x9c176 iffalse .NoRoomForIronTail
setevent EVENT_GOT_TM23_IRON_TAIL setevent EVENT_GOT_TM23_IRON_TAIL
writetext UnknownText_0x9c3a5 writetext Jasmine_IronTailSpeech
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x9c172: .GotIronTail:
writetext UnknownText_0x9c3d1 writetext Jasmine_GoodLuck
waitbutton waitbutton
UnknownScript_0x9c176: .NoRoomForIronTail:
closetext closetext
end end
@ -94,7 +94,7 @@ OlivineGymStatue:
trainertotext JASMINE, 1, $1 trainertotext JASMINE, 1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x9c1b9: Jasmine_SteelTypeIntro:
text "…Thank you for" text "…Thank you for"
line "your help at the" line "your help at the"
cont "LIGHTHOUSE…" cont "LIGHTHOUSE…"
@ -119,7 +119,7 @@ UnknownText_0x9c1b9:
para "…Um… May I begin?" para "…Um… May I begin?"
done done
UnknownText_0x9c2bb: Jasmine_BetterTrainer:
text "…You are a better" text "…You are a better"
line "trainer than me," line "trainer than me,"
@ -133,12 +133,12 @@ UnknownText_0x9c2bb:
line "this BADGE." line "this BADGE."
done done
UnknownText_0x9c33a: Text_ReceivedMineralBadge:
text "<PLAYER> received" text "<PLAYER> received"
line "MINERALBADGE." line "MINERALBADGE."
done done
UnknownText_0x9c354: Jasmine_BadgeSpeech:
text "MINERALBADGE" text "MINERALBADGE"
line "raises #MON's" line "raises #MON's"
cont "DEFENSE." cont "DEFENSE."
@ -147,18 +147,18 @@ UnknownText_0x9c354:
line "this too…" line "this too…"
done done
UnknownText_0x9c393: Text_ReceivedTM09:
text "<PLAYER> received" text "<PLAYER> received"
line "TM09." line "TM09."
done done
UnknownText_0x9c3a5: Jasmine_IronTailSpeech:
text "…You could use" text "…You could use"
line "that TM to teach" line "that TM to teach"
cont "IRON TAIL." cont "IRON TAIL."
done done
UnknownText_0x9c3d1: Jasmine_GoodLuck:
text "Um… I don't know" text "Um… I don't know"
line "how to say this," line "how to say this,"
cont "but good luck…" cont "but good luck…"

View File

@ -33,74 +33,74 @@ PokefanmDerek1Script:
end_if_just_battled end_if_just_battled
opentext opentext
checkflag ENGINE_DEREK_HAS_NUGGET checkflag ENGINE_DEREK_HAS_NUGGET
iftrue UnknownScript_0x1a5b4a iftrue PokefanMDerekHasNugget
checkcellnum PHONE_POKEFANM_DEREK checkcellnum PHONE_POKEFANM_DEREK
iftrue UnknownScript_0x1a5b6e iftrue PokefanMDerekAccepted
checkpoke PIKACHU checkpoke PIKACHU
iffalse UnknownScript_0x1a5b5c iffalse PokefanMDerekWantsPikachu
checkevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER checkevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a5b33 iftrue PokefanMDerekWantsYourNumber
writetext UnknownText_0x1a5cf8 writetext PokefanMDerekText_NotBragging
buttonsound buttonsound
setevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER setevent EVENT_DEREK_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x1a5b62 scall PokefanMDerekAsksNumber1
jump UnknownScript_0x1a5b36 jump PokefanMDerekAsksForPhoneNumber
UnknownScript_0x1a5b33: PokefanMDerekWantsYourNumber:
scall UnknownScript_0x1a5b66 scall PokefanMDerekAsksNumber2
UnknownScript_0x1a5b36: PokefanMDerekAsksForPhoneNumber:
askforphonenumber PHONE_POKEFANM_DEREK askforphonenumber PHONE_POKEFANM_DEREK
if_equal $1, UnknownScript_0x1a5b76 if_equal $1, PokefanMDerekPhoneFull
if_equal $2, UnknownScript_0x1a5b72 if_equal $2, PokefanMDerekDeclined
trainertotext POKEFANM, DEREK1, $0 trainertotext POKEFANM, DEREK1, $0
scall UnknownScript_0x1a5b6a scall PokefanMDerekRegistered
jump UnknownScript_0x1a5b6e jump PokefanMDerekAccepted
UnknownScript_0x1a5b4a: PokefanMDerekHasNugget:
scall UnknownScript_0x1a5b7a scall PokefanMDerekGift
verbosegiveitem NUGGET verbosegiveitem NUGGET
iffalse UnknownScript_0x1a5b59 iffalse .PackFull
clearflag ENGINE_DEREK_HAS_NUGGET clearflag ENGINE_DEREK_HAS_NUGGET
jump UnknownScript_0x1a5b6e jump PokefanMDerekAccepted
UnknownScript_0x1a5b59: .PackFull:
jump UnknownScript_0x1a5b7e jump PackIsFull
UnknownScript_0x1a5b5c: PokefanMDerekWantsPikachu:
writetext UnknownText_0x1a5dec writetext PokefanMDerekText_PikachuIsIt
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x1a5b62: PokefanMDerekAsksNumber1:
jumpstd asknumber1m jumpstd asknumber1m
end end
UnknownScript_0x1a5b66: PokefanMDerekAsksNumber2:
jumpstd asknumber2m jumpstd asknumber2m
end end
UnknownScript_0x1a5b6a: PokefanMDerekRegistered:
jumpstd registerednumberm jumpstd registerednumberm
end end
UnknownScript_0x1a5b6e: PokefanMDerekAccepted:
jumpstd numberacceptedm jumpstd numberacceptedm
end end
UnknownScript_0x1a5b72: PokefanMDerekDeclined:
jumpstd numberdeclinedm jumpstd numberdeclinedm
end end
UnknownScript_0x1a5b76: PokefanMDerekPhoneFull:
jumpstd phonefullm jumpstd phonefullm
end end
UnknownScript_0x1a5b7a: PokefanMDerekGift:
jumpstd giftm jumpstd giftm
end end
UnknownScript_0x1a5b7e: PackIsFull:
jumpstd packfullm jumpstd packfullm
end end
@ -220,7 +220,7 @@ PokefanmDerek1BeatenText:
line "show off PIKACHU…" line "show off PIKACHU…"
done done
UnknownText_0x1a5cf8: PokefanMDerekText_NotBragging:
text "I'm not listening" text "I'm not listening"
line "to your bragging!" line "to your bragging!"
@ -253,7 +253,7 @@ UnknownText_0x1a5db2:
line "adorable!" line "adorable!"
done done
UnknownText_0x1a5dec: PokefanMDerekText_PikachuIsIt:
text "PIKACHU is it!" text "PIKACHU is it!"
line "Don't you agree?" line "Don't you agree?"
done done

View File

@ -9,91 +9,91 @@ Route39Farmhouse_MapScriptHeader:
.MapCallbacks: .MapCallbacks:
db 0 db 0
PokefanMScript_0x9ceb4: PokefanM_DairyFarmer:
faceplayer faceplayer
opentext opentext
checkevent EVENT_HEALED_MOOMOO checkevent EVENT_HEALED_MOOMOO
iftrue UnknownScript_0x9cec5 iftrue FarmerMScript_SellMilk
writetext UnknownText_0x9cf38 writetext FarmerMText_SickCow
waitbutton waitbutton
closetext closetext
setevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO setevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
end end
UnknownScript_0x9cec5: FarmerMScript_SellMilk:
checkitem MOOMOO_MILK checkitem MOOMOO_MILK
iftrue UnknownScript_0x9cf08 iftrue FarmerMScript_Milking
writetext UnknownText_0x9cfe1 writetext FarmerMText_BuyMilk
special PlaceMoneyTopRight special PlaceMoneyTopRight
yesorno yesorno
iffalse UnknownScript_0x9cf02 iffalse FarmerMScript_NoSale
checkmoney $0, 500 checkmoney $0, 500
if_equal $2, UnknownScript_0x9cef6 if_equal $2, FarmerMScript_NoMoney
giveitem MOOMOO_MILK giveitem MOOMOO_MILK
iffalse UnknownScript_0x9cefc iffalse FarmerMScript_NoRoom
takemoney $0, 500 takemoney $0, 500
special PlaceMoneyTopRight special PlaceMoneyTopRight
waitsfx waitsfx
playsound SFX_TRANSACTION playsound SFX_TRANSACTION
writetext UnknownText_0x9d05d writetext FarmerMText_GotMilk
buttonsound buttonsound
itemnotify itemnotify
closetext closetext
end end
UnknownScript_0x9cef6: FarmerMScript_NoMoney:
writetext UnknownText_0x9d07c writetext FarmerMText_NoMoney
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x9cefc: FarmerMScript_NoRoom:
writetext UnknownText_0x9d09d writetext FarmerMText_NoRoom
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x9cf02: FarmerMScript_NoSale:
writetext UnknownText_0x9d0b7 writetext FarmerMText_NoSale
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x9cf08: FarmerMScript_Milking:
writetext UnknownText_0x9d0dc writetext FarmerMText_Milking
waitbutton waitbutton
closetext closetext
end end
PokefanFScript_0x9cf0e: PokefanF_SnoreFarmer:
faceplayer faceplayer
opentext opentext
checkevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM checkevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
iftrue UnknownScript_0x9cf2f iftrue FarmerFScript_GotSnore
checkevent EVENT_HEALED_MOOMOO checkevent EVENT_HEALED_MOOMOO
iftrue UnknownScript_0x9cf22 iftrue FarmerFScript_GiveSnore
writetext UnknownText_0x9d0f6 writetext FarmerFText_InTrouble
waitbutton waitbutton
closetext closetext
end end
UnknownScript_0x9cf22: FarmerFScript_GiveSnore:
writetext UnknownText_0x9d156 writetext FarmerFText_HealedMiltank
buttonsound buttonsound
verbosegiveitem TM_SNORE verbosegiveitem TM_SNORE
iffalse UnknownScript_0x9cf33 iffalse FarmerFScript_NoRoomForSnore
setevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM setevent EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM
UnknownScript_0x9cf2f: FarmerFScript_GotSnore:
writetext UnknownText_0x9d1c7 writetext FarmerFText_SnoreSpeech
waitbutton waitbutton
UnknownScript_0x9cf33: FarmerFScript_NoRoomForSnore:
closetext closetext
end end
FarmhouseBookshelf: FarmhouseBookshelf:
jumpstd picturebookshelf jumpstd picturebookshelf
UnknownText_0x9cf38: FarmerMText_SickCow:
text "My MILTANK ain't" text "My MILTANK ain't"
line "givin' me milk" line "givin' me milk"
cont "n'more." cont "n'more."
@ -111,7 +111,7 @@ UnknownText_0x9cf38:
line "BERRIES, I reckon." line "BERRIES, I reckon."
done done
UnknownText_0x9cfe1: FarmerMText_BuyMilk:
text "How'd you like my" text "How'd you like my"
line "MOOMOO MILK?" line "MOOMOO MILK?"
@ -125,32 +125,32 @@ UnknownText_0x9cfe1:
line "fer just ¥500." line "fer just ¥500."
done done
UnknownText_0x9d05d: FarmerMText_GotMilk:
text "Here ya go!" text "Here ya go!"
line "Drink up'n enjoy!" line "Drink up'n enjoy!"
done done
UnknownText_0x9d07c: FarmerMText_NoMoney:
text "Sorry, there." text "Sorry, there."
line "No cash, no sale!" line "No cash, no sale!"
done done
UnknownText_0x9d09d: FarmerMText_NoRoom:
text "I reckon yer" text "I reckon yer"
line "PACK's full." line "PACK's full."
done done
UnknownText_0x9d0b7: FarmerMText_NoSale:
text "You don't want it?" text "You don't want it?"
line "Come again, hear?" line "Come again, hear?"
done done
UnknownText_0x9d0dc: FarmerMText_Milking:
text "I best go do my" text "I best go do my"
line "milkin'." line "milkin'."
done done
UnknownText_0x9d0f6: FarmerFText_InTrouble:
text "Our milk even goes" text "Our milk even goes"
line "out to KANTO." line "out to KANTO."
@ -161,7 +161,7 @@ UnknownText_0x9d0f6:
line "in trouble." line "in trouble."
done done
UnknownText_0x9d156: FarmerFText_HealedMiltank:
text "You fixed our" text "You fixed our"
line "MILTANK, hon. Now" line "MILTANK, hon. Now"
@ -172,12 +172,12 @@ UnknownText_0x9d156:
line "fer your trouble." line "fer your trouble."
done done
UnknownText_0x9d1b5: Text_ReceivedTM13:
text "<PLAYER> received" text "<PLAYER> received"
line "TM13." line "TM13."
done done
UnknownText_0x9d1c7: FarmerFText_SnoreSpeech:
text "That there's" text "That there's"
line "SNORE." line "SNORE."
@ -211,5 +211,5 @@ Route39Farmhouse_MapEventHeader:
.PersonEvents: .PersonEvents:
db 2 db 2
person_event SPRITE_POKEFAN_M, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x9ceb4, -1 person_event SPRITE_POKEFAN_M, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, PokefanM_DairyFarmer, -1
person_event SPRITE_POKEFAN_F, 4, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, PokefanFScript_0x9cf0e, -1 person_event SPRITE_POKEFAN_F, 4, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, PokefanF_SnoreFarmer, -1

View File

@ -8,134 +8,134 @@ Route43Gate_MapScriptHeader:
db 2 db 2
; triggers ; triggers
dw UnknownScript_0x19abc5, 0 dw .Trigger0, 0
dw UnknownScript_0x19abc9, 0 dw .Trigger1, 0
.MapCallbacks: .MapCallbacks:
db 1 db 1
; callbacks ; callbacks
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x19abca dbw MAPCALLBACK_NEWMAP, GateScript_CheckIfRockets
UnknownScript_0x19abc5: .Trigger0:
priorityjump UnknownScript_0x19abda priorityjump GateScript_RocketTakeover
end end
UnknownScript_0x19abc9: .Trigger1:
end end
UnknownScript_0x19abca: GateScript_CheckIfRockets:
checkevent EVENT_CLEARED_ROCKET_HIDEOUT checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x19abd5 iftrue GateScript_NoRockets
domaptrigger ROUTE_43, $0 domaptrigger ROUTE_43, $0
return return
UnknownScript_0x19abd5: GateScript_NoRockets:
domaptrigger ROUTE_43, $1 domaptrigger ROUTE_43, $1
return return
UnknownScript_0x19abda: GateScript_RocketTakeover:
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
checkcode VAR_FACING checkcode VAR_FACING
if_equal DOWN, UnknownScript_0x19abea if_equal DOWN, RocketScript_Southbound
if_equal UP, UnknownScript_0x19ac38 if_equal UP, RocketScript_Northbound
dotrigger $1 dotrigger $1
end end
UnknownScript_0x19abea: RocketScript_Southbound:
applymovement PLAYER, MovementData_0x19aca2 applymovement PLAYER, PlayerStepsIn
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15 showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
applymovement ROUTE43GATE_ROCKET2, MovementData_0x19acbb applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouSouth
spriteface ROUTE43GATE_ROCKET1, UP spriteface ROUTE43GATE_ROCKET1, UP
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15 showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
applymovement ROUTE43GATE_ROCKET1, MovementData_0x19aca4 applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouSouth
opentext opentext
writetext UnknownText_0x19acd2 writetext RocketText_TollFee
buttonsound buttonsound
checkmoney $0, 999 checkmoney $0, 999
if_equal $0, UnknownScript_0x19ac12 if_equal $0, RocketScript_TollSouth
jump UnknownScript_0x19ac1d jump RocketScript_YoureBrokeSouth
UnknownScript_0x19ac12: RocketScript_TollSouth:
takemoney $0, 1000 takemoney $0, 1000
writetext UnknownText_0x19ad0a writetext RocketText_ThankYou
jump UnknownScript_0x19ac28 jump RocketScript_ShakeDownSouth
UnknownScript_0x19ac1d: RocketScript_YoureBrokeSouth:
takemoney $0, 1000 takemoney $0, 1000
writetext UnknownText_0x19ad20 writetext RocketText_AllYouGot
jump UnknownScript_0x19ac28 jump RocketScript_ShakeDownSouth
UnknownScript_0x19ac28: RocketScript_ShakeDownSouth:
buttonsound buttonsound
closetext closetext
applymovement ROUTE43GATE_ROCKET1, MovementData_0x19acaa applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth
applymovement ROUTE43GATE_ROCKET2, MovementData_0x19acc1 applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth
dotrigger $1 dotrigger $1
special RestartMapMusic special RestartMapMusic
end end
UnknownScript_0x19ac38: RocketScript_Northbound:
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15 showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
applymovement ROUTE43GATE_ROCKET1, MovementData_0x19acaf applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouNorth
spriteface ROUTE43GATE_ROCKET2, DOWN spriteface ROUTE43GATE_ROCKET2, DOWN
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15 showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
applymovement ROUTE43GATE_ROCKET2, MovementData_0x19acc7 applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouNorth
opentext opentext
writetext UnknownText_0x19acd2 writetext RocketText_TollFee
buttonsound buttonsound
checkmoney $0, 999 checkmoney $0, 999
if_equal $0, UnknownScript_0x19ac5c if_equal $0, RocketScript_TollNorth
jump UnknownScript_0x19ac67 jump RocketScript_YoureBrokeNorth
UnknownScript_0x19ac5c: RocketScript_TollNorth:
takemoney $0, 1000 takemoney $0, 1000
writetext UnknownText_0x19ad0a writetext RocketText_ThankYou
jump UnknownScript_0x19ac72 jump RocketScript_ShakeDownNorth
UnknownScript_0x19ac67: RocketScript_YoureBrokeNorth:
takemoney $0, 1000 takemoney $0, 1000
writetext UnknownText_0x19ad20 writetext RocketText_AllYouGot
jump UnknownScript_0x19ac72 jump RocketScript_ShakeDownNorth
UnknownScript_0x19ac72: RocketScript_ShakeDownNorth:
buttonsound buttonsound
closetext closetext
applymovement ROUTE43GATE_ROCKET2, MovementData_0x19accd applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth
applymovement ROUTE43GATE_ROCKET1, MovementData_0x19acb5 applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth
dotrigger $1 dotrigger $1
special RestartMapMusic special RestartMapMusic
end end
RocketScript_0x19ac82: RocketScript_MakingABundle:
jumptextfaceplayer UnknownText_0x19ad41 jumptextfaceplayer RocketText_MakingABundle
OfficerScript_0x19ac85: OfficerScript_GuardWithSludgeBomb:
faceplayer faceplayer
opentext opentext
checkevent EVENT_GOT_TM36_SLUDGE_BOMB checkevent EVENT_GOT_TM36_SLUDGE_BOMB
iftrue UnknownScript_0x19ac9c iftrue .GotSludgeBomb
writetext UnknownText_0x19ad9b writetext OfficerText_FoundTM
buttonsound buttonsound
verbosegiveitem TM_SLUDGE_BOMB verbosegiveitem TM_SLUDGE_BOMB
iffalse UnknownScript_0x19aca0 iffalse .NoRoomForSludgeBomb
setevent EVENT_GOT_TM36_SLUDGE_BOMB setevent EVENT_GOT_TM36_SLUDGE_BOMB
closetext closetext
end end
UnknownScript_0x19ac9c: .GotSludgeBomb:
writetext UnknownText_0x19ae2d writetext OfficerText_AvoidGrass
waitbutton waitbutton
UnknownScript_0x19aca0: .NoRoomForSludgeBomb:
closetext closetext
end end
MovementData_0x19aca2: PlayerStepsIn:
step DOWN step DOWN
step_end step_end
MovementData_0x19aca4: Rocket1Script_BlocksYouSouth:
big_step UP big_step UP
big_step UP big_step UP
big_step RIGHT big_step RIGHT
@ -143,14 +143,14 @@ MovementData_0x19aca4:
turn_head UP turn_head UP
step_end step_end
MovementData_0x19acaa: Rocket1Script_LetsYouPassSouth:
big_step LEFT big_step LEFT
big_step LEFT big_step LEFT
big_step DOWN big_step DOWN
big_step DOWN big_step DOWN
step_end step_end
MovementData_0x19acaf: Rocket1Script_BlocksYouNorth:
big_step DOWN big_step DOWN
big_step DOWN big_step DOWN
big_step RIGHT big_step RIGHT
@ -158,7 +158,7 @@ MovementData_0x19acaf:
turn_head DOWN turn_head DOWN
step_end step_end
MovementData_0x19acb5: Rocket1Script_LetsYouPassNorth:
big_step LEFT big_step LEFT
big_step LEFT big_step LEFT
big_step UP big_step UP
@ -166,7 +166,7 @@ MovementData_0x19acb5:
turn_head DOWN turn_head DOWN
step_end step_end
MovementData_0x19acbb: Rocket2Script_BlocksYouSouth:
big_step UP big_step UP
big_step UP big_step UP
big_step LEFT big_step LEFT
@ -174,7 +174,7 @@ MovementData_0x19acbb:
turn_head UP turn_head UP
step_end step_end
MovementData_0x19acc1: Rocket2Script_LetsYouPassSouth:
big_step RIGHT big_step RIGHT
big_step RIGHT big_step RIGHT
big_step DOWN big_step DOWN
@ -182,7 +182,7 @@ MovementData_0x19acc1:
turn_head UP turn_head UP
step_end step_end
MovementData_0x19acc7: Rocket2Script_BlocksYouNorth:
big_step DOWN big_step DOWN
big_step DOWN big_step DOWN
big_step LEFT big_step LEFT
@ -190,14 +190,14 @@ MovementData_0x19acc7:
turn_head DOWN turn_head DOWN
step_end step_end
MovementData_0x19accd: Rocket2Script_LetsYouPassNorth:
big_step RIGHT big_step RIGHT
big_step RIGHT big_step RIGHT
big_step UP big_step UP
big_step UP big_step UP
step_end step_end
UnknownText_0x19acd2: RocketText_TollFee:
text "Hold it there," text "Hold it there,"
line "kiddo!" line "kiddo!"
@ -205,17 +205,17 @@ UnknownText_0x19acd2:
line "to go through." line "to go through."
done done
UnknownText_0x19ad0a: RocketText_ThankYou:
text "Thank you very" text "Thank you very"
line "much!" line "much!"
done done
UnknownText_0x19ad20: RocketText_AllYouGot:
text "Then pay what you" text "Then pay what you"
line "have, please." line "have, please."
done done
UnknownText_0x19ad41: RocketText_MakingABundle:
text "He-he-he. We're" text "He-he-he. We're"
line "making a bundle." line "making a bundle."
@ -226,7 +226,7 @@ UnknownText_0x19ad41:
line "RAGE." line "RAGE."
done done
UnknownText_0x19ad9b: OfficerText_FoundTM:
text "I got chased from" text "I got chased from"
line "my post by these" line "my post by these"
cont "thugs in black." cont "thugs in black."
@ -239,12 +239,12 @@ UnknownText_0x19ad9b:
cont "you take it away?" cont "you take it away?"
done done
UnknownText_0x19ae1b: Text_ReceivedTM30:
text "<PLAYER> received" text "<PLAYER> received"
line "TM30." line "TM30."
done done
UnknownText_0x19ae2d: OfficerText_AvoidGrass:
text "Use this gate to" text "Use this gate to"
line "avoid walking in" line "avoid walking in"
cont "the grass." cont "the grass."
@ -269,6 +269,6 @@ Route43Gate_MapEventHeader:
.PersonEvents: .PersonEvents:
db 3 db 3
person_event SPRITE_OFFICER, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, OfficerScript_0x19ac85, EVENT_LAKE_OF_RAGE_CIVILIANS person_event SPRITE_OFFICER, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, OfficerScript_GuardWithSludgeBomb, EVENT_LAKE_OF_RAGE_CIVILIANS
person_event SPRITE_ROCKET, 4, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, RocketScript_0x19ac82, EVENT_ROUTE_43_GATE_ROCKETS person_event SPRITE_ROCKET, 4, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS
person_event SPRITE_ROCKET, 4, 7, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, RocketScript_0x19ac82, EVENT_ROUTE_43_GATE_ROCKETS person_event SPRITE_ROCKET, 4, 7, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS

View File

@ -55,16 +55,16 @@ FisherScript_0x1a9a75:
faceplayer faceplayer
opentext opentext
checkevent EVENT_GOT_TM42_DREAM_EATER checkevent EVENT_GOT_TM42_DREAM_EATER
iftrue UnknownScript_0x1a9a8a iftrue .GotDreamEater
writetext UnknownText_0x1a9cc4 writetext UnknownText_0x1a9cc4
buttonsound buttonsound
verbosegiveitem TM_DREAM_EATER verbosegiveitem TM_DREAM_EATER
iffalse UnknownScript_0x1a9a8e iffalse .NoRoomForDreamEater
setevent EVENT_GOT_TM42_DREAM_EATER setevent EVENT_GOT_TM42_DREAM_EATER
UnknownScript_0x1a9a8a: .GotDreamEater:
writetext UnknownText_0x1a9d86 writetext UnknownText_0x1a9d86
waitbutton waitbutton
UnknownScript_0x1a9a8e: .NoRoomForDreamEater:
closetext closetext
end end

View File

@ -9,7 +9,7 @@ ViridianGym_MapScriptHeader:
.MapCallbacks: .MapCallbacks:
db 0 db 0
BlueScript_0x9aa26: ViridianGymBlueScript:
faceplayer faceplayer
opentext opentext
checkflag ENGINE_EARTHBADGE checkflag ENGINE_EARTHBADGE
@ -188,5 +188,5 @@ ViridianGym_MapEventHeader:
.PersonEvents: .PersonEvents:
db 2 db 2
person_event SPRITE_BLUE, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlueScript_0x9aa26, EVENT_VIRIDIAN_GYM_BLUE person_event SPRITE_BLUE, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ViridianGymBlueScript, EVENT_VIRIDIAN_GYM_BLUE
person_event SPRITE_GYM_GUY, 13, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ViridianGymGuyScript, EVENT_VIRIDIAN_GYM_BLUE person_event SPRITE_GYM_GUY, 13, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ViridianGymGuyScript, EVENT_VIRIDIAN_GYM_BLUE

View File

@ -5,7 +5,7 @@ MomPhoneGreetingText: ; 0x1b4000
line "Working hard?" line "Working hard?"
done done
UnknownText_0x1b4021: ; 0x1b4021 MomPhoneLandmarkText: ; 0x1b4021
text "Oh, so you're in" text "Oh, so you're in"
line "@" line "@"
text_from_ram StringBuffer3 text_from_ram StringBuffer3
@ -50,7 +50,7 @@ MomPhoneCherrygroveText: ; 0x1b40e4
line "home for a bit?" line "home for a bit?"
done done
UnknownText_0x1b411c: ; 0x1b411c MomOtherAreaText: ; 0x1b411c
text "Wow, you're in" text "Wow, you're in"
line "@" line "@"
text_from_ram StringBuffer3 text_from_ram StringBuffer3
@ -60,7 +60,7 @@ UnknownText_0x1b411c: ; 0x1b411c
line "#MON quest!" line "#MON quest!"
done done
UnknownText_0x1b4150: ; 0x1b4150 MomDeterminedText: ; 0x1b4150
text "That sounds really" text "That sounds really"
line "tough." line "tough."
@ -71,7 +71,7 @@ UnknownText_0x1b4150: ; 0x1b4150
line "be OK, right?" line "be OK, right?"
done done
UnknownText_0x1b41a7: ; 0x1b41a7 MomCheckBalanceText: ; 0x1b41a7
text "By the way, you've" text "By the way, you've"
line "saved up ¥@" line "saved up ¥@"
text_from_ram StringBuffer3 text_from_ram StringBuffer3