mirror of https://github.com/pret/pokecrystal.git
Actually use PLAYER_OBJECT
This commit is contained in:
parent
e135091f09
commit
f75bfbeac3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue