summaryrefslogtreecommitdiff
path: root/maps/VioletOnixTradeHouse.asm
blob: ddd30edaaae9348ae0ab86d040ee10d588d2187a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
VioletOnixTradeHouse_MapScriptHeader:
	; trigger count
	db 0

	; callback count
	db 0

PokefanMScript_0x6998d:
	jumptextfaceplayer UnknownText_0x69997

YoungsterScript_0x69990:
	faceplayer
	loadfont
	trade $1
	closetext
	loadmovesprites
	end

UnknownText_0x69997:
	text "A #MON you get"
	line "in a trade grows"
	cont "quickly."

	para "But if you don't"
	line "have the right GYM"

	para "BADGE, they may"
	line "disobey you."
	done

VioletOnixTradeHouse_MapEventHeader:
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $3, 6, GROUP_VIOLET_CITY, MAP_VIOLET_CITY
	warp_def $7, $4, 6, GROUP_VIOLET_CITY, MAP_VIOLET_CITY

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 2
	person_event SPRITE_POKEFAN_M, 7, 6, OW_DOWN | $3, $0, -1, -1, $0, 0, PokefanMScript_0x6998d, -1
	person_event SPRITE_YOUNGSTER, 9, 10, OW_UP | $0, $20, -1, -1, (PAL_OW_RED << 4) | $80, 0, YoungsterScript_0x69990, -1