SoutherlyAirport_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

SoutherlyAirportNPC1:
	jumptextfaceplayer SoutherlyAirportNPC1Text

SoutherlyAirportNPC1Text:
	db TX_COMPRESSED, $12, $31, $93, $98, $12, $4d, $82, $3b, $a4
	db $37, $86, $88, $74, $eb, $23, $b1, $93, $9e

	db $20, $0a, $49, $ac, $f1, $4d, $ef, $62, $02, $bb
	db $43, $c1, $c2, $03, $95, $f0, $92, $6a, $c2, $d1
	db $32, $aa, $d2, $72, $a0, $af, $b9

	db $f0, $0a, $c9, $98, $ea, $55, $a4, $b9, $61, $88, $33
	db $7b, $51, $1f, $d2, $02, $9a, $88, $ea, $33, $a4
	db $e3, $4d

SoutherlyAirportPilot:
	opentext
	checkitem MYSTERY_TCKT
	iftrue .hasMysteryTicket
	jumptext SoutherlyPilotIntroduceText

.hasMysteryTicket
	checkevent EVENT_PRESENTED_MYSTERY_TICKET
	iffalse .surprisedpilot
	writetext SoutherlyPilotAskText
.asktogo
	yesorno
	iffalse .nogo
	jump .gotozone

.surprisedpilot
	setevent EVENT_PRESENTED_MYSTERY_TICKET
	writetext SoutherlyPilotSurpriseText
	jump .asktogo 

.gotozone
	writetext SoutherlyPilotLeavingText
	waitbutton
	special FadeOutPalettes
	playsound SFX_RAZOR_WIND
	wait 10
	warp MYSTERY_ZONE_AIRPORT, 9, 11
	end

.nogo
	jumptext SoutherlyPilotNoGoText

SoutherlyAirportNPC2:
	jumptextfaceplayer SoutherlyAirportNPC2Text

SoutherlyPilotAskText:
	db TX_COMPRESSED, $6f, $a4, $b9, $61, $98, $74, $14, $b0
	db $bd, $69, $38, $2a, $09, $16, $6b, $05, $04, $d7, $04, $87
	db $4b, $4d

SoutherlyPilotLeavingText:
	db TX_COMPRESSED, $af, $ab, $1f, $29, $bf, $ce, $9d, $e2
	db $7b, $93, $b9, $c8, $46, $4e, $78
	db $d3, $40

SoutherlyPilotNoGoText:
	db TX_COMPRESSED, $29, $3b, $78, $a6, $c4, $27, $5f, $3f

	db $00, $75, $32, $12, $53, $27, $27, $72, $c3, $2f, $54
	db $8d, $e7, $f4, $80, $a0, $83, $08, $8e, $9c, $b0, $cb, $49
	db $aa, $15, $04, $8b, $35, $82, $82, $6b, $82, $43
	db $e3, $4d

SoutherlyPilotSurpriseText:
	db TX_COMPRESSED, $6f, $a3, $b9, $b1, $06, $c8, $49, $9f

	db $00, $a7

	db $80, $05, $6f, $c7, $51, $67, $b9, $19, $39, $96, $91
	db $a1, $e5, $8f, $94, $dd

	db $28, $0a, $78

	db $00, $03, $c2, $20, $ff, $07, $78, $a7, $26, $46, $86, $43

	db $f0, $02, $92, $34, $41, $a2, $0c, $99, $33, $cc
	db $d7, $ac, $6c, $a9, $1d, $cb, $0c, $b4
	db $9a, $a1, $50, $48, $b3, $58, $28, $26, $b8, $24, $3f

	db $00, $29, $27, $05, $41, $22, $cd, $60, $a0, $9a, $e0, $90
	db $de, $1a, $22, $42, $f9, $cb, $0c, $40, $5f, $38, $1c

	db $00, $5a, $4e, $2b, $34, $5c, $07, $2b, $e1
	db $23, $c5, $2f, $46, $43, $5a, $20, $c9, $2d
	db $26, $aa, $a0, $af, $b9

	db $e2, $01, $ca, $16, $a3, $ed, $22, $e2, $b3, $9b, $01, $8d, $60
	db $9e, $42, $90, $fb, $d3, $cc, $07, $2b, $e1
	db $22, $a2, $97, $a3, $21, $af

	db $88, $06, $e7, $de, $fe, $3a, $8c, $e9, $25, $ea, $91
	db $bc, $08, $2d, $4b, $49, $ac, $e2, $c7, $ca
	db $6d, $51, $03, $57

	db $80, $37, $d2, $5c, $b0, $ce, $43
	db $4b, $4d

SoutherlyPilotIntroduceText:
	db TX_COMPRESSED, $62, $7d, $e8, $62, $4f, $bd, $0f

	db $10, $0e, $b0, $80, $82, $d4, $30, $63, $5c, $ab, $49
	db $6f, $58, $66, $1d, $05, $10, $17, $ce, $a4, $9a, $cf

	db $e0, $19, $0b, $e7, $15, $eb, $2a, $52, $a1, $da, $66
	db $bc, $23, $ba, $43, $96, $36, $54, $8e

	db $fc, $01, $b9, $b8, $7b, $2f, $54, $8e, $02, $0b
	db $4f, $69, $01, $54, $93, $59, $c1
	db $91, $51, $02, $06, $c6, $f9, $f1
	db $a6, $80

SoutherlyAirportNPC2Text:		 
	db TX_COMPRESSED, $62, $7d, $e8, $60, $20, $b4, $4e, $60, $48, $7c

	db $40, $3a, $60, $38, $ac, $cc, $90, $c1, $8d, $60, $80
	db $bd, $52, $4d, $67

	db $c4, $00, $3f, $5f, $39, $b1, $67, $c8, $c2, $49, $a4
	db $cb, $ce, $98, $0e, $2b, $33, $24, $b4, $9a, $cf
	db $8d, $34

SoutherlyAirportNPC3:
	jumptextfaceplayer SoutherlyAirportNPC3Text

SoutherlyAirportNPC3Text:		 
	db TX_COMPRESSED, $76, $46, $4e, $5a, $4c, $14, $59, $ab, $68, $7d
	db $cb, $d6, $93, $8c, $20, $f7, $26, $45, $87

	db $20, $2b, $1a, $c4, $05, $77, $f9, $51, $b8, $7b, $15
	db $9b, $da, $af, $a7, $2c, $33, $0e, $82, $9b, $de
	db $aa, $ab, $41, $4b, $0c, $13, $21, $4d, $87
	db $8d, $34

SoutherlyAirport_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $7, $7, 6, SOUTHERLY_CITY
	warp_def $7, $8, 6, SOUTHERLY_CITY

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 5
	person_event SPRITE_YOUNGSTER, 6, 12, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SoutherlyAirportNPC1, -1
	person_event SPRITE_GRAMPS, 4, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, SoutherlyAirportNPC2, -1
	person_event SPRITE_GENTLEMAN, 3, 15, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SoutherlyAirportNPC3, -1
	person_event SPRITE_OFFICER, 2, 9, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, SoutherlyAirportPilot, -1
	person_event SPRITE_OFFICER, 2, 6, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, SoutherlyAirportPilot, -1

