Implement Cut technique, making cut trees use objects (#34)

This commit is contained in:
xCrystal
2023-12-29 13:34:37 +01:00
parent 16ba25346c
commit 303deca959
15 changed files with 186 additions and 9 deletions

View File

@@ -187,6 +187,7 @@ DEF MAPOBJECT_SCREEN_HEIGHT EQU (SCREEN_HEIGHT / 2) + 2
const SPRITEMOVEDATA_BOULDERDUST ; 22
const SPRITEMOVEDATA_GRASS ; 23
const SPRITEMOVEDATA_SWIM_WANDER ; 24
const SPRITEMOVEDATA_CUTTABLE_TREE ; 25
DEF NUM_SPRITEMOVEDATA EQU const_value
; StepFunction_FromMovement.Pointers indexes (see engine/overworld/map_objects.asm)

View File

@@ -145,7 +145,7 @@ DEF NUM_BGEVENTS EQU const_value
const OBJECTTYPE_TRAINER
const OBJECTTYPE_TALKER
const OBJECTTYPE_ROCK
const OBJECTTYPE_5
const OBJECTTYPE_TREE
const OBJECTTYPE_6
DEF NUM_OBJECT_TYPES EQU const_value

View File

@@ -104,6 +104,7 @@
const SPRITE_ENTEI ; 64
const SPRITE_RAIKOU ; 65
const SPRITE_STANDING_YOUNGSTER ; 66
const SPRITE_CUT_TREE ; 67
DEF NUM_OVERWORLD_SPRITES EQU const_value - 1
; SpriteMons indexes (see data/sprites/sprite_mons.asm)