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
|
|
@ -289,24 +289,24 @@ SilphCo11TrainerHeader1:
|
|||
SilphCo11Text1:
|
||||
text_asm
|
||||
CheckEvent EVENT_GOT_MASTER_BALL
|
||||
jp nz, .asm_62308
|
||||
jp nz, .got_item
|
||||
ld hl, SilphCoPresidentText
|
||||
call PrintText
|
||||
lb bc, MASTER_BALL, 1
|
||||
call GiveItem
|
||||
jr nc, .BagFull
|
||||
jr nc, .bag_full
|
||||
ld hl, ReceivedSilphCoMasterBallText
|
||||
call PrintText
|
||||
SetEvent EVENT_GOT_MASTER_BALL
|
||||
jr .asm_6230e
|
||||
.BagFull
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, SilphCoMasterBallNoRoomText
|
||||
call PrintText
|
||||
jr .asm_6230e
|
||||
.asm_62308
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, SilphCo10Text_6231c
|
||||
call PrintText
|
||||
.asm_6230e
|
||||
.done
|
||||
jp TextScriptEnd
|
||||
|
||||
SilphCoPresidentText:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue