mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +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
|
|
@ -7,30 +7,30 @@ VermilionOldRodHouse_TextPointers:
|
|||
VermilionHouse2Text1:
|
||||
text_asm
|
||||
ld a, [wd728]
|
||||
bit 3, a
|
||||
jr nz, .asm_03ef5
|
||||
bit 3, a ; got old rod?
|
||||
jr nz, .got_item
|
||||
ld hl, VermilionHouse2Text_560b1
|
||||
call PrintText
|
||||
call YesNoChoice
|
||||
ld a, [wCurrentMenuItem]
|
||||
and a
|
||||
jr nz, .asm_eb1b7
|
||||
jr nz, .refused
|
||||
lb bc, OLD_ROD, 1
|
||||
call GiveItem
|
||||
jr nc, .BagFull
|
||||
jr nc, .bag_full
|
||||
ld hl, wd728
|
||||
set 3, [hl]
|
||||
set 3, [hl] ; got old rod
|
||||
ld hl, VermilionHouse2Text_560b6
|
||||
jr .asm_5dd95
|
||||
.BagFull
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, VermilionHouse2Text_560ca
|
||||
jr .asm_5dd95
|
||||
.asm_eb1b7
|
||||
jr .done
|
||||
.refused
|
||||
ld hl, VermilionHouse2Text_560c0
|
||||
jr .asm_5dd95
|
||||
.asm_03ef5
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, VermilionHouse2Text_560c5
|
||||
.asm_5dd95
|
||||
.done
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue