diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-02 11:15:32 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-02 11:15:32 -0500 |
commit | d35cfad0de085fab1b0c40c7f0497c9b745cb7b2 (patch) | |
tree | 8de5a9250b7ee5e7c264e31866cf70849314166a /engine/scripting.asm | |
parent | 76e2ea534fa8374e62b8916e068514101cd617fa (diff) |
object_struct
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r-- | engine/scripting.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm index c7c17b8d7..4461c8fe4 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -1191,7 +1191,7 @@ endr ApplyPersonFacing: ; 0x9728b ld a, d push de - call Function18de + call CheckObjectVisibility jr c, .not_visible ; 0x97290 $27 ld hl, OBJECT_SPRITE add hl, bc @@ -1258,7 +1258,7 @@ Script_appear: ; 0x972dd call GetScriptByte call GetScriptPerson call _CopyObjectStruct - ld a, [hMapObjectIndexBuffer1] + ld a, [hMapObjectIndexBuffer] ld b, 0 ; clear call ApplyEventActionAppearDisappear ret @@ -1276,7 +1276,7 @@ Script_disappear: ; 0x972ee ld a, [hLastTalked] .ok call DeleteObjectStruct - ld a, [hMapObjectIndexBuffer1] + ld a, [hMapObjectIndexBuffer] ld b, 1 ; set call ApplyEventActionAppearDisappear callba RefreshMapAppearDisappear @@ -1316,14 +1316,14 @@ Script_follow: ; 0x97325 call GetScriptByte call GetScriptPerson ld c, a - callba Function5803 + callba StartFollow ret ; 0x9733a Script_stopfollow: ; 0x9733a ; script command 0x71 - callba Function581f + callba StopFollow ret ; 0x97341 |