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
|
|
@ -8,10 +8,10 @@ Route2Gate_TextPointers:
|
|||
Route2GateText1:
|
||||
text_asm
|
||||
CheckEvent EVENT_GOT_HM05
|
||||
jr nz, .asm_5d60d
|
||||
ld a, 10 ; pokemon needed
|
||||
jr nz, .got_item
|
||||
ld a, 10
|
||||
ldh [hOaksAideRequirement], a
|
||||
ld a, HM_FLASH ; oak's aide reward
|
||||
ld a, HM_FLASH
|
||||
ldh [hOaksAideRewardItem], a
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
|
|
@ -21,13 +21,13 @@ Route2GateText1:
|
|||
call CopyData
|
||||
predef OaksAideScript
|
||||
ldh a, [hOaksAideResult]
|
||||
cp $1
|
||||
jr nz, .asm_5d613
|
||||
cp OAKS_AIDE_GOT_ITEM
|
||||
jr nz, .no_item
|
||||
SetEvent EVENT_GOT_HM05
|
||||
.asm_5d60d
|
||||
.got_item
|
||||
ld hl, Route2GateText_5d616
|
||||
call PrintText
|
||||
.asm_5d613
|
||||
.no_item
|
||||
jp TextScriptEnd
|
||||
|
||||
Route2GateText_5d616:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue