- 239
- Posts
- 9
- Years
- Seen Apr 17, 2025
[Pokeemerald] Map Previews
This feature adds the map preview screens from fire red to pokeemerald
How To Add:
How To Use:
Notes:
This feature adds the map preview screens from fire red to pokeemerald
![[PokeCommunity.com] Map Previews [PokeCommunity.com] Map Previews](https://i.imgur.com/IMHNmar.gif)
![[PokeCommunity.com] Map Previews [PokeCommunity.com] Map Previews](https://i.imgur.com/3t4Q0tV.gif)
How To Add:
- git remote add ghoul https://github.com/ghoulslash/pokeemerald
- git pull ghoul map_preview
- sort any (hopefully nonexistant) merge conflicts
How To Use:
- Add a map to include/map_preview.h under MapPreviewScreenId (eg. MPS_MT_CHIMNEY)
- Add an entry to sMapPreviewScreenData following the emerald examples I gave and/or the existing firered map previews I left for comparison
- Firered maps had world map flags set for all map preview areas, but emerald does not. This only changes the map preview duration. If you want to keep this feature, change FLAG_BASED_MAP_PREVIEW_TIME to TRUE at the top of src/map_preview.c, then define flags for each area you want to visit (they must also be set in a map_script upon entering). Otherwise, they will appear for the length shown in the above GIFs.
Notes:
- I added a forest(Petalburg Woods) and Cave(Meteor Falls) example, but all other maps do not have map previews included. Feel free to submit a Pull Request with completed Emerald map previews, though! :)
- The map name window accompanying the image is currently just a regular textbox as opposed to the cool graphics included in emerald. Sadly, short amount of time I spent trying to add the graphical map name popups resulted in distorted images, so regular textboxes will have to make do for now
- I've only tested forests and caves, so far. The map loading iterations between emerald and firered are different so others may cause problems. Please report bugs here!
Last edited: