summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-02-26 13:14:53 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-02-26 13:15:21 -0500
commitcac0681b2c11b7184545cc42d4bd209d6000b42c (patch)
treebd4d9775c281c1533c576e6a435e9a0e481fd677 /src
parent933bc3c01ab3e77c5f18770a8893e3424259ce77 (diff)
Name cut grass metatiles
Diffstat (limited to 'src')
-rw-r--r--src/fldeff_cut.c42
1 files changed, 32 insertions, 10 deletions
diff --git a/src/fldeff_cut.c b/src/fldeff_cut.c
index 64165ae8f..8617a1aaa 100644
--- a/src/fldeff_cut.c
+++ b/src/fldeff_cut.c
@@ -16,6 +16,7 @@
#include "trig.h"
#include "constants/event_objects.h"
#include "constants/songs.h"
+#include "constants/metatile_labels.h"
#define CUT_GRASS_SPRITE_COUNT 8
@@ -32,16 +33,37 @@ static void SpriteCallback_CutGrass_Cleanup(struct Sprite * sprite);
static void FieldMoveCallback_CutTree(void);
static const u16 sCutGrassMetatileMapping[][2] = {
- {0x000d, 0x0001},
- {0x000a, 0x0013},
- {0x000b, 0x000e},
- {0x000c, 0x000f},
- {0x0352, 0x033e},
- {0x0300, 0x0310},
- {0x0301, 0x0311},
- {0x0302, 0x0312},
- {0x0284, 0x0281},
- {0xffff, 0xffff}
+ {
+ METATILE_ID(General, Plain_Grass),
+ METATILE_ID(General, Plain_Mowed)
+ }, {
+ METATILE_ID(General, ThinTreeTop_Grass),
+ METATILE_ID(General, ThinTreeTop_Mowed)
+ }, {
+ METATILE_ID(General, WideTreeTopLeft_Grass),
+ METATILE_ID(General, WideTreeTopLeft_Mowed)
+ }, {
+ METATILE_ID(General, WideTreeTopRight_Grass),
+ METATILE_ID(General, WideTreeTopRight_Mowed)
+ }, {
+ METATILE_ID(CeladonCity, CyclingRoad_Grass),
+ METATILE_ID(CeladonCity, CyclingRoad_Mowed)
+ }, {
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopLeft_Grass),
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopLeft_Mowed)
+ }, {
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopMiddle_Grass),
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopMiddle_Mowed)
+ }, {
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopRight_Grass),
+ METATILE_ID(FuchsiaCity, SafariZoneTreeTopRight_Mowed)
+ }, {
+ METATILE_ID(ViridianForest, HugeTreeTopMiddle_Grass),
+ METATILE_ID(ViridianForest, HugeTreeTopMiddle_Mowed)
+ }, {
+ 0xffff,
+ 0xffff
+ }
};
static const struct OamData sOamData_FldEff_CutGrass = {