mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Rename map files, labels, and constants to be consistent and work with Polished Map
This commit is contained in:
parent
90430e6dee
commit
c779602459
1398 changed files with 6631 additions and 6166 deletions
52
scripts/Route1.asm
Executable file
52
scripts/Route1.asm
Executable file
|
|
@ -0,0 +1,52 @@
|
|||
Route1_Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
Route1_TextPointers:
|
||||
dw Route1Text1
|
||||
dw Route1Text2
|
||||
dw Route1Text3
|
||||
|
||||
Route1Text1:
|
||||
TX_ASM
|
||||
CheckAndSetEvent EVENT_GOT_POTION_SAMPLE
|
||||
jr nz, .asm_1cada
|
||||
ld hl, Route1ViridianMartSampleText
|
||||
call PrintText
|
||||
lb bc, POTION, 1
|
||||
call GiveItem
|
||||
jr nc, .BagFull
|
||||
ld hl, Route1Text_1cae8
|
||||
jr .asm_1cadd
|
||||
.BagFull
|
||||
ld hl, Route1Text_1caf3
|
||||
jr .asm_1cadd
|
||||
.asm_1cada
|
||||
ld hl, Route1Text_1caee
|
||||
.asm_1cadd
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
Route1ViridianMartSampleText:
|
||||
TX_FAR _Route1ViridianMartSampleText
|
||||
db "@"
|
||||
|
||||
Route1Text_1cae8:
|
||||
TX_FAR _Route1Text_1cae8
|
||||
TX_SFX_ITEM_1
|
||||
db "@"
|
||||
|
||||
Route1Text_1caee:
|
||||
TX_FAR _Route1Text_1caee
|
||||
db "@"
|
||||
|
||||
Route1Text_1caf3:
|
||||
TX_FAR _Route1Text_1caf3
|
||||
db "@"
|
||||
|
||||
Route1Text2:
|
||||
TX_FAR _Route1Text2
|
||||
db "@"
|
||||
|
||||
Route1Text3:
|
||||
TX_FAR _Route1Text3
|
||||
db "@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue