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
|
|
@ -2,14 +2,14 @@ RedsHouse1F_Script:
|
|||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
RedsHouse1F_TextPointers:
|
||||
dw RedsHouse1FText1
|
||||
dw RedsHouse1FText2
|
||||
dw RedsHouse1FMomText
|
||||
dw RedsHouse1FTVText
|
||||
|
||||
RedsHouse1FText1: ; Mom
|
||||
RedsHouse1FMomText:
|
||||
text_asm
|
||||
ld a, [wd72e]
|
||||
bit 3, a
|
||||
jr nz, .heal ; if player has received a Pokémon from Oak, heal team
|
||||
bit 3, a ; received a Pokémon from Oak?
|
||||
jr nz, .heal
|
||||
ld hl, MomWakeUpText
|
||||
call PrintText
|
||||
jr .done
|
||||
|
|
@ -49,14 +49,14 @@ MomHealText2:
|
|||
text_far _MomHealText2
|
||||
text_end
|
||||
|
||||
RedsHouse1FText2: ; TV
|
||||
RedsHouse1FTVText:
|
||||
text_asm
|
||||
ld a, [wSpritePlayerStateData1FacingDirection]
|
||||
cp SPRITE_FACING_UP
|
||||
ld hl, TVWrongSideText
|
||||
jr nz, .notUp
|
||||
jr nz, .got_text
|
||||
ld hl, StandByMeText
|
||||
.notUp
|
||||
.got_text
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue