shithub: pokered

ref: 62e137f6cedeeebb8457fdb710ea725f73ded49f
dir: /scripts/LavenderMart.asm/

View raw version
LavenderMart_Script:
	jp EnableAutoTextBoxDrawing

LavenderMart_TextPointers:
	dw LavenderCashierText
	dw LavenderMartText2
	dw LavenderMartText3

LavenderMartText2:
	TX_FAR _LavenderMartText2
	db "@"

LavenderMartText3:
	TX_ASM
	CheckEvent EVENT_RESCUED_MR_FUJI
	jr nz, .Nugget
	ld hl, .ReviveText
	call PrintText
	jr .done
.Nugget
	ld hl, .NuggetText
	call PrintText
.done
	jp TextScriptEnd

.ReviveText
	TX_FAR _LavenderMartReviveText
	db "@"

.NuggetText
	TX_FAR _LavenderMartNuggetText
	db "@"