diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-16 11:19:05 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-16 11:19:05 -0400 |
| commit | 594c58a289cbad3954899d76ed000f483389472f (patch) | |
| tree | 31c04c8930d25b68819d47b627a252ec271be849 /scripts/SilphCo11F.asm | |
| parent | Define constants for default trainer DVs (diff) | |
| download | pokeyellow-594c58a289cbad3954899d76ed000f483389472f.tar.gz pokeyellow-594c58a289cbad3954899d76ed000f483389472f.tar.xz pokeyellow-594c58a289cbad3954899d76ed000f483389472f.zip | |
Revise some map scripts, mostly for getting items
Diffstat (limited to 'scripts/SilphCo11F.asm')
| -rwxr-xr-x | scripts/SilphCo11F.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/SilphCo11F.asm b/scripts/SilphCo11F.asm index abea6da4..6f7d050b 100755 --- a/scripts/SilphCo11F.asm +++ b/scripts/SilphCo11F.asm @@ -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: |
