mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-08 00:25:28 +13:00
Revise some map scripts, mostly for getting items
This commit is contained in:
parent
58f1089370
commit
594c58a289
61 changed files with 371 additions and 348 deletions
|
|
@ -9,20 +9,20 @@ Route1_TextPointers:
|
|||
Route1Text1:
|
||||
text_asm
|
||||
CheckAndSetEvent EVENT_GOT_POTION_SAMPLE
|
||||
jr nz, .asm_1cada
|
||||
jr nz, .got_item
|
||||
ld hl, Route1ViridianMartSampleText
|
||||
call PrintText
|
||||
lb bc, POTION, 1
|
||||
call GiveItem
|
||||
jr nc, .BagFull
|
||||
jr nc, .bag_full
|
||||
ld hl, Route1Text_1cae8
|
||||
jr .asm_1cadd
|
||||
.BagFull
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, Route1Text_1caf3
|
||||
jr .asm_1cadd
|
||||
.asm_1cada
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, Route1Text_1caee
|
||||
.asm_1cadd
|
||||
.done
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue