shithub: pokecrystal

ref: 323ef81286c554d928520341fbc13ef21dc1ec79
dir: /maps/OlivineLighthouse4F.asm/

View raw version
	const_def 2 ; object constants
	const OLIVINELIGHTHOUSE4F_SAILOR
	const OLIVINELIGHTHOUSE4F_LASS

OlivineLighthouse4F_MapScripts:
	db 0 ; scene scripts

	db 0 ; callbacks

TrainerLassConnie:
	trainer LASS, CONNIE1, EVENT_BEAT_LASS_CONNIE, LassConnie1SeenText, LassConnie1BeatenText, 0, .Script

.Script:
	end_if_just_battled
	opentext
	writetext LassConnie1AfterBattleText
	waitbutton
	closetext
	end

TrainerSailorKent:
	trainer SAILOR, KENT, EVENT_BEAT_SAILOR_KENT, SailorKentSeenText, SailorKentBeatenText, 0, .Script

.Script:
	end_if_just_battled
	opentext
	writetext SailorKentAfterBattleText
	waitbutton
	closetext
	end

SailorKentSeenText:
	text "JASMINE must be"
	line "worried sick about"
	cont "the #MON here."

	para "She won't even"
	line "smile these days."
	done

SailorKentBeatenText:
	text "I can't manage a"
	line "smile either…"
	done

SailorKentAfterBattleText:
	text "Speaking of sick,"
	line "I've heard there's"

	para "a good PHARMACY in"
	line "CIANWOOD."
	done

LassConnie1SeenText:
	text "JASMINE is this"
	line "city's GYM LEADER."

	para "I mean to bring"
	line "her back with me."

	para "Nobody had better"
	line "get in my way!"
	done

LassConnie1BeatenText:
	text "Aaack! My #MON!"
	done

LassConnie1AfterBattleText:
	text "Right. Anybody"
	line "would be worried"
	cont "if his or her own"
	cont "#MON were hurt."

	para "I'll pray for the"
	line "#MON here, so"

	para "JASMINE can come"
	line "back to the GYM."
	done

OlivineLighthouse4F_MapEvents:
	db 0, 0 ; filler

	db 10 ; warp events
	warp_event 13, 3, 1, OLIVINE_LIGHTHOUSE_3F
	warp_event 3, 5, 2, OLIVINE_LIGHTHOUSE_5F
	warp_event 9, 7, 3, OLIVINE_LIGHTHOUSE_5F
	warp_event 9, 5, 3, OLIVINE_LIGHTHOUSE_3F
	warp_event 16, 9, 6, OLIVINE_LIGHTHOUSE_3F
	warp_event 17, 9, 7, OLIVINE_LIGHTHOUSE_3F
	warp_event 8, 3, 8, OLIVINE_LIGHTHOUSE_3F
	warp_event 9, 3, 9, OLIVINE_LIGHTHOUSE_3F
	warp_event 16, 7, 4, OLIVINE_LIGHTHOUSE_5F
	warp_event 17, 7, 5, OLIVINE_LIGHTHOUSE_5F

	db 0 ; coord events

	db 0 ; bg events

	db 2 ; object events
	object_event 7, 14, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorKent, -1
	object_event 11, 2, SPRITE_LASS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerLassConnie, -1