From 1a7a6442b43c4912f666b773dfc620484ca91642 Mon Sep 17 00:00:00 2001 From: pigeon-crystal <64479106+pigeon-crystal@users.noreply.github.com> Date: Sat, 29 Jan 2022 20:10:17 -0600 Subject: 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`. --- Allow-more-than-15-object_events-per-map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3