From f75bfbeac3aa826e1f402a649fa1389e889b5af9 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 22 Jan 2018 13:25:49 -0500 Subject: [PATCH] Actually use PLAYER_OBJECT --- engine/player_object.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/player_object.asm b/engine/player_object.asm index b630078a2..802cf6ade 100755 --- a/engine/player_object.asm +++ b/engine/player_object.asm @@ -25,7 +25,7 @@ SpawnPlayer: ; 8029 call CopyPlayerObjectTemplate ld b, $0 call PlayerSpawn_ConvertCoords - ld a, $0 + ld a, PLAYER_OBJECT call GetMapObject ld hl, MAPOBJECT_COLOR add hl, bc @@ -40,10 +40,10 @@ SpawnPlayer: ; 8029 .ok ld [hl], e - ld a, $0 + ld a, PLAYER_OBJECT ld [hMapObjectIndexBuffer], a ld bc, MapObjects - ld a, $0 + ld a, PLAYER_OBJECT ld [hObjectStructIndexBuffer], a ld de, ObjectStructs call CopyMapObjectToObjectStruct