You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Actually use PLAYER_OBJECT
This commit is contained in:
@@ -25,7 +25,7 @@ SpawnPlayer: ; 8029
|
|||||||
call CopyPlayerObjectTemplate
|
call CopyPlayerObjectTemplate
|
||||||
ld b, $0
|
ld b, $0
|
||||||
call PlayerSpawn_ConvertCoords
|
call PlayerSpawn_ConvertCoords
|
||||||
ld a, $0
|
ld a, PLAYER_OBJECT
|
||||||
call GetMapObject
|
call GetMapObject
|
||||||
ld hl, MAPOBJECT_COLOR
|
ld hl, MAPOBJECT_COLOR
|
||||||
add hl, bc
|
add hl, bc
|
||||||
@@ -40,10 +40,10 @@ SpawnPlayer: ; 8029
|
|||||||
|
|
||||||
.ok
|
.ok
|
||||||
ld [hl], e
|
ld [hl], e
|
||||||
ld a, $0
|
ld a, PLAYER_OBJECT
|
||||||
ld [hMapObjectIndexBuffer], a
|
ld [hMapObjectIndexBuffer], a
|
||||||
ld bc, MapObjects
|
ld bc, MapObjects
|
||||||
ld a, $0
|
ld a, PLAYER_OBJECT
|
||||||
ld [hObjectStructIndexBuffer], a
|
ld [hObjectStructIndexBuffer], a
|
||||||
ld de, ObjectStructs
|
ld de, ObjectStructs
|
||||||
call CopyMapObjectToObjectStruct
|
call CopyMapObjectToObjectStruct
|
||||||
|
Reference in New Issue
Block a user