mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +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
|
|
@ -3,7 +3,7 @@ OpenPokemonCenterPC:
|
|||
cp SPRITE_FACING_UP
|
||||
ret nz
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [wAutoTextBoxDrawingControl], a
|
||||
tx_pre_jump PokemonCenterPCText
|
||||
|
||||
|
|
|
|||
|
|
@ -25,22 +25,22 @@ OaksAideScript:
|
|||
jr nc, .bagFull
|
||||
ld hl, OaksAideGotItemText
|
||||
call PrintText
|
||||
ld a, $1
|
||||
ld a, OAKS_AIDE_GOT_ITEM
|
||||
jr .done
|
||||
.bagFull
|
||||
ld hl, OaksAideNoRoomText
|
||||
call PrintText
|
||||
xor a
|
||||
xor a ; OAKS_AIDE_BAG_FULL
|
||||
jr .done
|
||||
.notEnoughOwnedMons
|
||||
ld hl, OaksAideUhOhText
|
||||
call PrintText
|
||||
ld a, $80
|
||||
ld a, OAKS_AIDE_NOT_ENOUGH_MONS
|
||||
jr .done
|
||||
.choseNo
|
||||
ld hl, OaksAideComeBackText
|
||||
call PrintText
|
||||
ld a, $ff
|
||||
ld a, OAKS_AIDE_REFUSED
|
||||
.done
|
||||
ldh [hOaksAideResult], a
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue