shithub: pokecrystal

ref: 95af7dd873165ca197372a7b6e896fe3bd66e24a
dir: /maps/Route11.asm/

View raw version
Route11_MapScriptHeader: ; 0x68000
	; trigger count
	db 0

	; callback count
	db 0
; 0x68002

TrainerYoungsterOwen: ; 0x68002
	; bit/flag number
	dw $5b3

	; trainer group && trainer id
	db YOUNGSTER, OWEN

	; text when seen
	dw YoungsterOwenSeenText

	; text when trainer beaten
	dw YoungsterOwenBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw YoungsterOwenScript
; 0x6800e

YoungsterOwenScript: ; 0x6800e
	talkaftercancel
	loadfont
	2writetext UnknownText_0x680b2
	closetext
	loadmovesprites
	end
; 0x68016

TrainerYoungsterJason: ; 0x68016
	; bit/flag number
	dw $5b4

	; trainer group && trainer id
	db YOUNGSTER, JASON

	; text when seen
	dw YoungsterJasonSeenText

	; text when trainer beaten
	dw YoungsterJasonBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw YoungsterJasonScript
; 0x68022

YoungsterJasonScript: ; 0x68022
	talkaftercancel
	loadfont
	2writetext UnknownText_0x6814a
	closetext
	loadmovesprites
	end
; 0x6802a

TrainerPsychicHerman: ; 0x6802a
	; bit/flag number
	dw $43c

	; trainer group && trainer id
	db PSYCHIC_T, HERMAN

	; text when seen
	dw PsychicHermanSeenText

	; text when trainer beaten
	dw PsychicHermanBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw PsychicHermanScript
; 0x68036

PsychicHermanScript: ; 0x68036
	talkaftercancel
	loadfont
	2writetext UnknownText_0x6817b
	closetext
	loadmovesprites
	end
; 0x6803e

TrainerPsychicFidel: ; 0x6803e
	; bit/flag number
	dw $43d

	; trainer group && trainer id
	db PSYCHIC_T, FIDEL

	; text when seen
	dw PsychicFidelSeenText

	; text when trainer beaten
	dw PsychicFidelBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw PsychicFidelScript
; 0x6804a

PsychicFidelScript: ; 0x6804a
	talkaftercancel
	loadfont
	2writetext UnknownText_0x681ec
	closetext
	loadmovesprites
	end
; 0x68052

MapRoute11Signpost0Script: ; 0x68052
	jumptext UnknownText_0x68238
; 0x68055

FruitTreeScript_0x68055: ; 0x68055
	fruittree $18
; 0x68057

MapRoute11SignpostItem1: ; 0x68057
	dw $00f5
	db REVIVE
	
; 0x6805a

YoungsterOwenSeenText: ; 0x6805a
	text "There's no cheat-"
	line "ing in #MON."

	para "Let's keep it fair"
	line "and square!"
	done
; 0x68097

YoungsterOwenBeatenText: ; 0x68097
	text "Huh? How did this"
	line "happen?"
	done
; 0x680b2

UnknownText_0x680b2: ; 0x680b2
	text "I fought fair and"
	line "square with honor."

	para "I don't regret"
	line "this at all."
	done
; 0x680f3

YoungsterJasonSeenText: ; 0x680f3
	text "It itches and"
	line "tickles a bit when"

	para "I wear shorts in"
	line "the grass."
	done
; 0x68131

YoungsterJasonBeatenText: ; 0x68131
	text "Aiyaaah!"
	line "I got stomped!"
	done
; 0x6814a

UnknownText_0x6814a: ; 0x6814a
	text "I'm going to catch"
	line "more #MON in"
	cont "the grass."
	done
; 0x68175

PsychicHermanSeenText: ; 0x68175
	text "…"
	done
; 0x68178

PsychicHermanBeatenText: ; 0x68178
	text "…"
	done
; 0x6817b

UnknownText_0x6817b: ; 0x6817b
	text "…"

	para "I lost while I had"
	line "my eyes closed…"
	done
; 0x681a1

PsychicFidelSeenText: ; 0x681a1
	text "I can see it…"

	para "Everything to see"
	line "about you…"
	done
; 0x681cd

PsychicFidelBeatenText: ; 0x681cd
	text "I couldn't foresee"
	line "your power…"
	done
; 0x681ec

UnknownText_0x681ec: ; 0x681ec
	text "Strength in con-"
	line "viction…"

	para "You're strong be-"
	line "cause you believe"
	cont "in your #MON."
	done
; 0x68238

UnknownText_0x68238: ; 0x68238
	text "ROUTE 11"
	done
; 0x68242

Route11_MapEventHeader: ; 0x68242
	; filler
	db 0, 0

	; warps
	db 0

	; xy triggers
	db 0

	; signposts
	db 2
	signpost 7, 3, $0, MapRoute11Signpost0Script
	signpost 5, 32, $7, MapRoute11SignpostItem1

	; people-events
	db 5
	person_event SPRITE_YOUNGSTER, 18, 26, $a, $0, 255, 255, $92, 3, TrainerYoungsterOwen, $ffff
	person_event SPRITE_YOUNGSTER, 8, 24, $6, $0, 255, 255, $92, 3, TrainerYoungsterJason, $ffff
	person_event SPRITE_YOUNGSTER, 11, 32, $6, $0, 255, 255, $92, 1, TrainerPsychicHerman, $ffff
	person_event SPRITE_YOUNGSTER, 10, 12, $a, $0, 255, 255, $92, 3, TrainerPsychicFidel, $ffff
	person_event SPRITE_FRUIT_TREE, 6, 36, $1, $0, 255, 255, $0, 0, FruitTreeScript_0x68055, $ffff
; 0x68293