summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpigeon-crystal <64479106+pigeon-crystal@users.noreply.github.com>2022-01-29 20:10:17 -0600
committerpigeon-crystal <64479106+pigeon-crystal@users.noreply.github.com>2022-01-29 20:10:17 -0600
commit1a7a6442b43c4912f666b773dfc620484ca91642 (patch)
treeba7084052ef102c745546ddbb1610fa591871b98
parent112b88d08377cde66546d3165f5af33d39b944a2 (diff)
Added a note explaining where to edit `NUM_OBJECTS` in relation of object_events for older versions of pokecrystal. My project started mid 2020 and the appropriate place to make the edit was in `constants/wram_constants.asm`.
-rw-r--r--Allow-more-than-15-object_events-per-map.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Allow-more-than-15-object_events-per-map.md b/Allow-more-than-15-object_events-per-map.md
index 13dea9d..02a8644 100644
--- a/Allow-more-than-15-object_events-per-map.md
+++ b/Allow-more-than-15-object_events-per-map.md
@@ -1,6 +1,6 @@
Map scripts in [maps/\*.asm](../tree/master/maps/) declare new objects—NPCs, item balls, Berry trees, etc—with the `object_event` macro. But you can't have more than 15 `object_event`s in one map. ([GoldenrodCity.asm](../blob/master/maps/GoldenrodCity.asm) reaches this limit, and four other maps nearly do with 14 `object_event`s.) Turns out this is an easy limit to increase.
-Edit [constants/map_object_constants.asm](../blob/master/constants/map_object_constants.asm):
+Edit [constants/map_object_constants.asm](../blob/master/constants/map_object_constants.asm) (older versions of pokecrystal may have this bit in [constants/wram_constants.asm](../blob/master/constants/wram_constants.asm):
```diff
MAPOBJECT_LENGTH EQU _RS