2015-07-10 08:45:35 +00:00
|
|
|
EarlsPokemonAcademy_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyEarl:
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x68b2d
|
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68b3b
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Part1
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68bbd
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Done
|
|
|
|
.Part1
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68c51
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Done
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68c7b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Done
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68d31
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
YoungsterScript_0x68a83:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x68d80
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GameboyKidScript_0x68a86:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68dda
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $4, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GameboyKidScript_0x68a91:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x68e07
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $5, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
YoungsterScript_0x68a9c:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x68e39
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyBlackboard:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext AcademyBlackboardText
|
|
|
|
.Loop
|
|
|
|
loadmenudata .MenuHeader
|
2013-02-17 06:54:07 +00:00
|
|
|
interpretmenu
|
|
|
|
writebackup
|
2015-06-26 04:01:08 +00:00
|
|
|
if_equal $1, .Poison
|
|
|
|
if_equal $2, .Paralysis
|
|
|
|
if_equal $3, .Sleep
|
|
|
|
if_equal $4, .Burn
|
|
|
|
if_equal $5, .Freeze
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Poison
|
|
|
|
writetext AcademyPoisonText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
jump .Loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Paralysis
|
|
|
|
writetext AcademyParalysisText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
jump .Loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Sleep
|
|
|
|
writetext AcademySleepText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
jump .Loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Burn
|
|
|
|
writetext AcademyBurnText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
jump .Loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Freeze:
|
|
|
|
writetext AcademyFreezeText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
jump .Loop
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.MenuHeader
|
2013-05-01 09:22:24 +00:00
|
|
|
db $40 ; flags
|
|
|
|
db 00, 00 ; start coords
|
|
|
|
db 08, 11 ; end coords
|
2015-06-26 04:01:08 +00:00
|
|
|
dw .Data
|
2013-05-01 09:22:24 +00:00
|
|
|
db 1 ; default option
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Data
|
2013-05-01 09:22:24 +00:00
|
|
|
db $80 ; flags
|
|
|
|
dn 3, 2 ; rows, columns
|
|
|
|
db 5 ; spacing
|
2015-06-26 04:01:08 +00:00
|
|
|
dbw BANK(.Text), .Text
|
2013-05-01 09:22:24 +00:00
|
|
|
dbw $1a, $0000
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
.Text
|
2013-05-01 09:22:24 +00:00
|
|
|
db "PSN@"
|
|
|
|
db "PAR@"
|
|
|
|
db "SLP@"
|
|
|
|
db "BRN@"
|
|
|
|
db "FRZ@"
|
|
|
|
db "QUIT@"
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyNotebook:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext AcademyNotebookText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Done
|
|
|
|
writetext AcademyNotebookText1
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Done
|
|
|
|
writetext AcademyNotebookText2
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-06-26 04:01:08 +00:00
|
|
|
iffalse .Done
|
|
|
|
writetext AcademyNotebookText3
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-06-26 04:01:08 +00:00
|
|
|
.Done
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyStickerMachine:
|
|
|
|
; unused
|
|
|
|
jumptext AcademyStickerMachineText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyBookshelf:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd difficultbookshelf
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x68b2d:
|
2013-02-17 06:54:07 +00:00
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68b3b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "EARL, I am!"
|
|
|
|
|
|
|
|
para "Wonderful are"
|
|
|
|
line "#MON, yes!"
|
|
|
|
|
|
|
|
para "Teach you I will"
|
|
|
|
line "to be a better"
|
|
|
|
cont "trainer!"
|
|
|
|
|
|
|
|
para "What you want to"
|
|
|
|
line "know? Want to be"
|
|
|
|
cont "a winner is you?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68bbd:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Good! Teach you,"
|
|
|
|
line "I will!"
|
|
|
|
|
|
|
|
para "In battle, #MON"
|
|
|
|
line "top on list jump"
|
|
|
|
cont "out first!"
|
|
|
|
|
|
|
|
para "Change order in"
|
|
|
|
line "list, make battle"
|
|
|
|
cont "easy, maybe!"
|
|
|
|
|
|
|
|
para "More from me you"
|
|
|
|
line "want to hear?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68c51:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "So, want to know"
|
|
|
|
line "how to raise"
|
|
|
|
cont "#MON well?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68c7b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Fine! Teach you,"
|
|
|
|
line "I will!"
|
|
|
|
|
|
|
|
para "If #MON come"
|
|
|
|
line "out in battle even"
|
|
|
|
|
|
|
|
para "briefly, some EXP."
|
|
|
|
line "Points it gets."
|
|
|
|
|
|
|
|
para "At top of list put"
|
|
|
|
line "weak #MON."
|
|
|
|
|
|
|
|
para "Switch in battle"
|
|
|
|
line "quick!"
|
|
|
|
|
|
|
|
para "This way, weak"
|
|
|
|
line "#MON strong"
|
|
|
|
cont "become!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68d31:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh! Smart student"
|
|
|
|
line "you are! Nothing"
|
|
|
|
cont "more do I teach!"
|
|
|
|
|
|
|
|
para "Good to #MON"
|
|
|
|
line "you must be!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68d80:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm taking notes"
|
|
|
|
line "of the teacher's"
|
|
|
|
cont "lecture."
|
|
|
|
|
|
|
|
para "I'd better copy"
|
|
|
|
line "the stuff on the"
|
|
|
|
cont "blackboard too."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68dda:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I traded my best"
|
|
|
|
line "#MON to the"
|
|
|
|
cont "guy beside me."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68e07:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Huh? The #MON I"
|
|
|
|
line "just got is hold-"
|
|
|
|
cont "ing something!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x68e39:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A #MON holding"
|
|
|
|
line "a BERRY will heal"
|
|
|
|
cont "itself in battle."
|
|
|
|
|
|
|
|
para "Many other items"
|
|
|
|
line "can be held by"
|
|
|
|
cont "#MON…"
|
|
|
|
|
|
|
|
para "It sure is tough"
|
|
|
|
line "taking notes…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyBlackboardText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The blackboard"
|
|
|
|
line "describes #MON"
|
|
|
|
|
|
|
|
para "status changes in"
|
|
|
|
line "battle."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyBlackboardText2:
|
|
|
|
; unused
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Read which topic?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyPoisonText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "If poisoned, a"
|
|
|
|
line "#MON steadily"
|
|
|
|
cont "loses HP."
|
|
|
|
|
|
|
|
para "Poison lingers"
|
|
|
|
line "after the battle,"
|
|
|
|
|
|
|
|
para "and HP is lost as"
|
|
|
|
line "you walk."
|
|
|
|
|
|
|
|
para "To cure it, use an"
|
|
|
|
line "ANTIDOTE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyParalysisText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Paralysis reduces"
|
|
|
|
line "speed and may"
|
|
|
|
cont "prevent movement."
|
|
|
|
|
|
|
|
para "It remains after"
|
|
|
|
line "battle, so use"
|
|
|
|
cont "a PARLYZ HEAL."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademySleepText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "If asleep, your"
|
|
|
|
line "#MON can't make"
|
|
|
|
cont "a move."
|
|
|
|
|
|
|
|
para "A sleeping #MON"
|
|
|
|
line "doesn't wake up"
|
|
|
|
cont "after battle."
|
|
|
|
|
|
|
|
para "Wake it up with"
|
|
|
|
line "an AWAKENING."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyBurnText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A burn steadily"
|
|
|
|
line "consumes HP."
|
|
|
|
|
|
|
|
para "It also reduces"
|
|
|
|
line "attack power."
|
|
|
|
|
|
|
|
para "A burn lingers"
|
|
|
|
line "after battle."
|
|
|
|
|
|
|
|
para "Use a BURN HEAL as"
|
|
|
|
line "the cure."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyFreezeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "If your #MON is"
|
|
|
|
line "frozen, it can't"
|
|
|
|
cont "do a thing."
|
|
|
|
|
|
|
|
para "It remains frozen"
|
|
|
|
line "after battle."
|
|
|
|
|
|
|
|
para "Thaw it out with"
|
|
|
|
line "an ICE HEAL."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyNotebookText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's this kid's"
|
|
|
|
line "notebook…"
|
|
|
|
|
|
|
|
para "Catch #MON"
|
|
|
|
line "using # BALLS."
|
|
|
|
|
|
|
|
para "Up to six can be"
|
|
|
|
line "in your party."
|
|
|
|
|
|
|
|
para "Keep reading?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyNotebookText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Before throwing a"
|
|
|
|
line "# BALL, weaken"
|
|
|
|
cont "the target first."
|
|
|
|
|
|
|
|
para "A poisoned or"
|
|
|
|
line "burned #MON is"
|
|
|
|
cont "easier to catch."
|
|
|
|
|
|
|
|
para "Keep reading?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyNotebookText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Some moves may"
|
|
|
|
line "cause confusion."
|
|
|
|
|
|
|
|
para "Confusion may make"
|
|
|
|
line "a #MON attack"
|
|
|
|
cont "itself."
|
|
|
|
|
|
|
|
para "Leaving battle"
|
|
|
|
line "clears up any"
|
|
|
|
cont "confusion."
|
|
|
|
|
|
|
|
para "Keep reading?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyNotebookText3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "People who catch"
|
|
|
|
line "and use #MON"
|
|
|
|
|
|
|
|
para "in battle are"
|
|
|
|
line "#MON trainers."
|
|
|
|
|
|
|
|
para "They are expected"
|
|
|
|
line "to visit #MON"
|
|
|
|
|
|
|
|
para "GYMS and defeat"
|
|
|
|
line "other trainers."
|
|
|
|
|
|
|
|
para "The next page"
|
|
|
|
line "is… Blank!"
|
|
|
|
|
|
|
|
para "Boy: E-he-he…"
|
|
|
|
|
|
|
|
para "I haven't written"
|
|
|
|
line "anymore…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
AcademyStickerMachineText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "This super machine"
|
|
|
|
line "prints data out as"
|
|
|
|
|
|
|
|
para "stickers!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
EarlsPokemonAcademy_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $f, $3, 3, VIOLET_CITY
|
|
|
|
warp_def $f, $4, 3, VIOLET_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 1, 0, SIGNPOST_READ, AcademyBookshelf
|
|
|
|
signpost 1, 1, SIGNPOST_READ, AcademyBookshelf
|
|
|
|
signpost 0, 3, SIGNPOST_READ, AcademyBlackboard
|
|
|
|
signpost 0, 4, SIGNPOST_READ, AcademyBlackboard
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 6
|
2015-10-24 14:34:19 +00:00
|
|
|
person_event SPRITE_FISHER, 2, 4, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, AcademyEarl, EVENT_EARLS_ACADEMY_EARL
|
|
|
|
person_event SPRITE_YOUNGSTER, 5, 2, $7, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, YoungsterScript_0x68a83, -1
|
|
|
|
person_event SPRITE_GAMEBOY_KID, 11, 3, $6, 0, 0, -1, -1, 0, 0, 0, GameboyKidScript_0x68a86, -1
|
|
|
|
person_event SPRITE_GAMEBOY_KID, 11, 4, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, GameboyKidScript_0x68a91, -1
|
|
|
|
person_event SPRITE_YOUNGSTER, 7, 4, $7, 0, 0, -1, -1, 0, 0, 0, YoungsterScript_0x68a9c, -1
|
|
|
|
person_event SPRITE_POKEDEX, 4, 2, $1, 0, 0, -1, -1, 0, 0, 0, AcademyNotebook, -1
|