mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
48dbfc6333
The commit we deserve
318 lines
6.1 KiB
NASM
318 lines
6.1 KiB
NASM
Route37_MapScriptHeader: ; 0x1a8d72
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 1
|
|
|
|
; callbacks
|
|
|
|
dbw 2, UnknownScript_0x1a8d77
|
|
; 0x1a8d77
|
|
|
|
UnknownScript_0x1a8d77: ; 0x1a8d77
|
|
checkcode $b
|
|
if_equal SUNDAY, UnknownScript_0x1a8d80
|
|
disappear $6
|
|
return
|
|
; 0x1a8d80
|
|
|
|
UnknownScript_0x1a8d80: ; 0x1a8d80
|
|
appear $6
|
|
return
|
|
; 0x1a8d83
|
|
|
|
TrainerTwinsAnnandanne1: ; 0x1a8d83
|
|
; bit/flag number
|
|
dw $465
|
|
|
|
; trainer group && trainer id
|
|
db TWINS, ANNANDANNE1
|
|
|
|
; text when seen
|
|
dw TwinsAnnandanne1SeenText
|
|
|
|
; text when trainer beaten
|
|
dw TwinsAnnandanne1BeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw TwinsAnnandanne1Script
|
|
; 0x1a8d8f
|
|
|
|
TwinsAnnandanne1Script: ; 0x1a8d8f
|
|
talkaftercancel
|
|
loadfont
|
|
2writetext UnknownText_0x1a8e62
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8d97
|
|
|
|
TrainerTwinsAnnandanne2: ; 0x1a8d97
|
|
; bit/flag number
|
|
dw $465
|
|
|
|
; trainer group && trainer id
|
|
db TWINS, ANNANDANNE2
|
|
|
|
; text when seen
|
|
dw TwinsAnnandanne2SeenText
|
|
|
|
; text when trainer beaten
|
|
dw TwinsAnnandanne2BeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw TwinsAnnandanne2Script
|
|
; 0x1a8da3
|
|
|
|
TwinsAnnandanne2Script: ; 0x1a8da3
|
|
talkaftercancel
|
|
loadfont
|
|
2writetext UnknownText_0x1a8eec
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8dab
|
|
|
|
TrainerPsychicGreg: ; 0x1a8dab
|
|
; bit/flag number
|
|
dw $43e
|
|
|
|
; trainer group && trainer id
|
|
db PSYCHIC_T, GREG
|
|
|
|
; text when seen
|
|
dw PsychicGregSeenText
|
|
|
|
; text when trainer beaten
|
|
dw PsychicGregBeatenText
|
|
|
|
; script when lost
|
|
dw $0000
|
|
|
|
; script when talk again
|
|
dw PsychicGregScript
|
|
; 0x1a8db7
|
|
|
|
PsychicGregScript: ; 0x1a8db7
|
|
talkaftercancel
|
|
loadfont
|
|
2writetext UnknownText_0x1a8f80
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8dbf
|
|
|
|
UnknownScript_0x1a8dbf: ; 0x1a8dbf
|
|
faceplayer
|
|
loadfont
|
|
checkbit1 $0069
|
|
iftrue UnknownScript_0x1a8dfa
|
|
checkcode $b
|
|
if_not_equal SUNDAY, UnknownScript_0x1a8e00
|
|
checkbit1 $0068
|
|
iftrue UnknownScript_0x1a8dda
|
|
2writetext UnknownText_0x1a8fc8
|
|
keeptextopen
|
|
setbit1 $0068
|
|
UnknownScript_0x1a8dda: ; 0x1a8dda
|
|
checkbit2 $0063
|
|
iftrue UnknownScript_0x1a8de7
|
|
2writetext UnknownText_0x1a9004
|
|
keeptextopen
|
|
2jump UnknownScript_0x1a8deb
|
|
; 0x1a8de7
|
|
|
|
UnknownScript_0x1a8de7: ; 0x1a8de7
|
|
2writetext UnknownText_0x1a902f
|
|
keeptextopen
|
|
UnknownScript_0x1a8deb: ; 0x1a8deb
|
|
verbosegiveitem MAGNET, 1
|
|
iffalse UnknownScript_0x1a8dfe
|
|
setbit1 $0069
|
|
2writetext UnknownText_0x1a905a
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8dfa
|
|
|
|
UnknownScript_0x1a8dfa: ; 0x1a8dfa
|
|
2writetext UnknownText_0x1a90fc
|
|
closetext
|
|
UnknownScript_0x1a8dfe: ; 0x1a8dfe
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8e00
|
|
|
|
UnknownScript_0x1a8e00: ; 0x1a8e00
|
|
2writetext UnknownText_0x1a916e
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
; 0x1a8e06
|
|
|
|
MapRoute37Signpost0Script: ; 0x1a8e06
|
|
jumptext UnknownText_0x1a9197
|
|
; 0x1a8e09
|
|
|
|
UnknownScript_0x1a8e09: ; 0x1a8e09
|
|
fruittree $11
|
|
; 0x1a8e0b
|
|
|
|
UnknownScript_0x1a8e0b: ; 0x1a8e0b
|
|
fruittree $12
|
|
; 0x1a8e0d
|
|
|
|
UnknownScript_0x1a8e0d: ; 0x1a8e0d
|
|
fruittree $13
|
|
; 0x1a8e0f
|
|
|
|
MapRoute37SignpostItem1: ; 0x1a8e0f
|
|
dw $00a9
|
|
db ETHER
|
|
|
|
; 0x1a8e12
|
|
|
|
TwinsAnnandanne1SeenText: ; 0x1a8e12
|
|
db $0, "ANN: ANNE and I", $4f
|
|
db "are in this to-", $55
|
|
db "gether!", $57
|
|
; 0x1a8e3b
|
|
|
|
TwinsAnnandanne1BeatenText: ; 0x1a8e3b
|
|
db $0, "ANN & ANNE: Nnn… A", $4f
|
|
db "little too strong.", $57
|
|
; 0x1a8e62
|
|
|
|
UnknownText_0x1a8e62: ; 0x1a8e62
|
|
db $0, "ANN: I can tell", $4f
|
|
db "what my sister and", $51
|
|
db "my #MON are", $4f
|
|
db "thinking.", $57
|
|
; 0x1a8e9c
|
|
|
|
TwinsAnnandanne2SeenText: ; 0x1a8e9c
|
|
db $0, "ANNE: ANN and I", $4f
|
|
db "are in this to-", $55
|
|
db "gether!", $57
|
|
; 0x1a8ec5
|
|
|
|
TwinsAnnandanne2BeatenText: ; 0x1a8ec5
|
|
db $0, "ANN & ANNE: Nnn… A", $4f
|
|
db "little too strong.", $57
|
|
; 0x1a8eec
|
|
|
|
UnknownText_0x1a8eec: ; 0x1a8eec
|
|
db $0, "ANNE: We share the", $4f
|
|
db "same feelings as", $55
|
|
db "our #MON.", $57
|
|
; 0x1a8f1b
|
|
|
|
PsychicGregSeenText: ; 0x1a8f1b
|
|
db $0, "#MON can't do a", $4f
|
|
db "thing if they are", $55
|
|
db "asleep.", $51
|
|
db "I'll show you how", $4f
|
|
db "scary that is!", $57
|
|
; 0x1a8f65
|
|
|
|
PsychicGregBeatenText: ; 0x1a8f65
|
|
db $0, "I lost. That's", $4f
|
|
db "pretty sad…", $57
|
|
; 0x1a8f80
|
|
|
|
UnknownText_0x1a8f80: ; 0x1a8f80
|
|
db $0, "Putting #MON to", $4f
|
|
db "sleep or paralyz-", $55
|
|
db "ing them are good", $55
|
|
db "battle techniques.", $57
|
|
; 0x1a8fc8
|
|
|
|
UnknownText_0x1a8fc8: ; 0x1a8fc8
|
|
db $0, "SUNNY: Hi!", $51
|
|
db "I'm SUNNY of Sun-", $4f
|
|
db "day, meaning it's", $55
|
|
db "Sunday today!", $57
|
|
; 0x1a9004
|
|
|
|
UnknownText_0x1a9004: ; 0x1a9004
|
|
db $0, "I was told to give", $4f
|
|
db "you this if I saw", $55
|
|
db "you!", $57
|
|
; 0x1a902f
|
|
|
|
UnknownText_0x1a902f: ; 0x1a902f
|
|
db $0, "I was told to give", $4f
|
|
db "you this if I saw", $55
|
|
db "you!", $57
|
|
; 0x1a905a
|
|
|
|
UnknownText_0x1a905a: ; 0x1a905a
|
|
db $0, "SUNNY: That thing…", $51
|
|
db "Um…", $51
|
|
db "… What was it now…", $51
|
|
db "…", $51
|
|
db "Oh! I remember", $4f
|
|
db "now!", $51
|
|
db "A #MON that", $4f
|
|
db "knows electric", $51
|
|
db "moves should hold", $4f
|
|
db "it.", $51
|
|
db "My sis MONICA said", $4f
|
|
db "it powers up", $55
|
|
db "electric moves!", $57
|
|
; 0x1a90fc
|
|
|
|
UnknownText_0x1a90fc: ; 0x1a90fc
|
|
db $0, "SUNNY: My sisters", $4f
|
|
db "and brothers are", $55
|
|
db "MONICA, TUSCANY,", $55
|
|
db "WESLEY, ARTHUR,", $55
|
|
db "FRIEDA and SANTOS.", $51
|
|
db "They're all older", $4f
|
|
db "than me!", $57
|
|
; 0x1a916e
|
|
|
|
UnknownText_0x1a916e: ; 0x1a916e
|
|
db $0, "SUNNY: Isn't today", $4f
|
|
db "Sunday?", $55
|
|
db "Um… I forgot!", $57
|
|
; 0x1a9197
|
|
|
|
UnknownText_0x1a9197: ; 0x1a9197
|
|
db $0, "ROUTE 37", $57
|
|
; 0x1a91a1
|
|
|
|
Route37_MapEventHeader: ; 0x1a91a1
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 0
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 2
|
|
signpost 3, 5, $0, MapRoute37Signpost0Script
|
|
signpost 2, 4, $7, MapRoute37SignpostItem1
|
|
|
|
; people-events
|
|
db 7
|
|
person_event $f4, 16, 10, $6, $0, 255, 255, $82, 1, TrainerTwinsAnnandanne1, $ffff
|
|
person_event $f4, 16, 11, $6, $0, 255, 255, $82, 1, TrainerTwinsAnnandanne2, $ffff
|
|
person_event $27, 10, 10, $a, $0, 255, 255, $92, 1, TrainerPsychicGreg, $ffff
|
|
person_event $5d, 9, 17, $1, $0, 255, 255, $0, 0, UnknownScript_0x1a8e09, $ffff
|
|
person_event $25, 12, 20, $2, $11, 255, 255, $0, 0, UnknownScript_0x1a8dbf, $075b
|
|
person_event $5d, 9, 20, $1, $0, 255, 255, $0, 0, UnknownScript_0x1a8e0b, $ffff
|
|
person_event $5d, 11, 19, $1, $0, 255, 255, $0, 0, UnknownScript_0x1a8e0d, $ffff
|
|
; 0x1a920c
|
|
|