Replaced SignpostItem with Hidden(ItemName)
This commit is contained in:
@@ -767,8 +767,8 @@ TryReadSign: ; 96a38
|
||||
ld de, EngineBuffer1
|
||||
ld bc, 3
|
||||
call FarCopyBytes
|
||||
ld a, BANK(SignpostItemScript)
|
||||
ld hl, SignpostItemScript
|
||||
ld a, BANK(HiddenItemScript)
|
||||
ld hl, HiddenItemScript
|
||||
call CallScript
|
||||
scf
|
||||
ret
|
||||
|
@@ -627,7 +627,7 @@ CmdQueue_StoneTable: ; 97f42
|
||||
ld hl, OBJECT_MOVEMENTTYPE
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
cp STEP_TYPE_19
|
||||
cp STEP_TYPE_SKYFALL_TOP
|
||||
jr nz, .next
|
||||
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
|
@@ -276,7 +276,7 @@ endr
|
||||
ret
|
||||
; b8172
|
||||
|
||||
CheckForSignpostItems: ; b8172
|
||||
CheckForHiddenItems: ; b8172
|
||||
; Checks to see if there are hidden items on the screen that have not yet been found. If it finds one, returns carry.
|
||||
call GetMapScriptHeaderBank
|
||||
ld [Buffer1], a
|
||||
|
@@ -88,7 +88,7 @@ MovementPointers: ; 5075
|
||||
dw Movement_56 ; 56
|
||||
dw Movement_rock_smash ; 57
|
||||
dw Movement_return_dig ; 58
|
||||
dw Movement_run_before_fall ; 59
|
||||
dw Movement_skyfall_top ; 59
|
||||
; 5129
|
||||
|
||||
|
||||
@@ -113,10 +113,10 @@ Movement_skyfall: ; 5137
|
||||
ret
|
||||
; 513e
|
||||
|
||||
Movement_run_before_fall: ; 513e
|
||||
Movement_skyfall_top: ; 513e
|
||||
ld hl, OBJECT_STEP_TYPE
|
||||
add hl, bc
|
||||
ld [hl], STEP_TYPE_19
|
||||
ld [hl], STEP_TYPE_SKYFALL_TOP
|
||||
ret
|
||||
; 5145
|
||||
|
||||
|
Reference in New Issue
Block a user