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 @@ Route12SuperRodHouse_TextPointers:
|
|||
Route12HouseText1:
|
||||
text_asm
|
||||
ld a, [wd728]
|
||||
bit 5, a
|
||||
jr nz, .asm_b4cad
|
||||
bit 5, a ; received super rod?
|
||||
jr nz, .got_item
|
||||
ld hl, Route12HouseText_564c0
|
||||
call PrintText
|
||||
call YesNoChoice
|
||||
ld a, [wCurrentMenuItem]
|
||||
and a
|
||||
jr nz, .asm_a2d76
|
||||
jr nz, .refused
|
||||
lb bc, SUPER_ROD, 1
|
||||
call GiveItem
|
||||
jr nc, .BagFull
|
||||
jr nc, .bag_full
|
||||
ld hl, wd728
|
||||
set 5, [hl]
|
||||
set 5, [hl] ; received super rod
|
||||
ld hl, Route12HouseText_564c5
|
||||
jr .asm_df984
|
||||
.BagFull
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, Route12HouseText_564d9
|
||||
jr .asm_df984
|
||||
.asm_a2d76
|
||||
jr .done
|
||||
.refused
|
||||
ld hl, Route12HouseText_564cf
|
||||
jr .asm_df984
|
||||
.asm_b4cad
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, Route12HouseText_564d4
|
||||
.asm_df984
|
||||
.done
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue