Rickochet Posted March 14, 2015 Share Posted March 14, 2015 I've been testing different world map events and I ran into a problem. This is my event file. #include EAstdlib.event WorldMapPointerTable(0x00,WorldMapData) POIN WorldMapData ORG 0xD81D20 WorldMapData: StartWorldMap(FullWorldMap, 0, 0, 0x76) STAL 0x64 TEXTBOXTOTOP//beginning STAL 16 TEXTWM 0x835 REMOVETEXTBOX STAL 6 SCRO //STAL 60 //FADETOWM [64,680] 0x76 0x00 0x00 /// Everytime I get to here in the sequence, my ROM crashes and I can't figure out why its doing that. //STAL 60 TEXTBOXTOBOTTOM//beginning STAL 16 TEXTWM 0x836 REMOVETEXTBOX STAL 6 SCRO SHOWPORTRAIT 0x0 0x0E 188 0x2 0//beginning STAL 16 TEXTBOXTOBOTTOM STAL 16 TEXTWM 0x837 REMOVETEXTBOX REMOVEPORTRAIT 0x0 0x2 0 STAL 6 SCRO SHOWPORTRAIT 0x1 0x0D 188 0x2 0//beginning STAL 16 TEXTBOXTOBOTTOM STAL 16 TEXTWM 0x838 REMOVETEXTBOX REMOVEPORTRAIT 0x1 0x2 0 STAL 6 SCRO SHOWPORTRAIT 0x2 0x0F 188 0x2 0//beginning STAL 16 TEXTBOXTOBOTTOM STAL 16 TEXTWM 0x839 REMOVETEXTBOX REMOVEPORTRAIT 0x2 0x2 0 STAL 6 STAL 16 SCRO EndWorldMap ENDA MESSAGE World map events end at currentOffset If i don't use that fadetowm macro, everything works fine. Though I do need to have map fades and the like. Am I missing something? I'm pretty sure I'm doing something wrong but it eludes me. Quote Link to comment Share on other sites More sharing options...
Primefusion Posted March 15, 2015 Share Posted March 15, 2015 FADETOWM [64,680] 0x76 0x00 0x00 /// Everytime I get to here in the sequence, my ROM crashes and I can't figure out why its doing that. I'm fairly certain 0x76 is not a valid map for it to load. From the EA doc: //World maps#define FullWorldMap 0x0#define LyciaBernSacaeMap 0x1#define NabataDesertMap 0x2 And that's it. Are you trying to load a CG or something?Also, we have a pinned thread for EA questions. Quote Link to comment Share on other sites More sharing options...
Rickochet Posted March 15, 2015 Author Share Posted March 15, 2015 ah okay, thank you! I'm just trying to figure out how I can replace the map images with my own, thus the 0x76. Could you point me in the right direction? As in how I would go about locating the hex for these maps in the ROMs? Quote Link to comment Share on other sites More sharing options...
Primefusion Posted March 15, 2015 Share Posted March 15, 2015 You'll want to start here Quote Link to comment Share on other sites More sharing options...
Agro Posted March 15, 2015 Share Posted March 15, 2015 Arch and I have also written a brief guide to world map events which covers a few additional things on top of the SF tutorial such as camera control, sprite control, etc. Check it out and let me know how you go with it, as I've not gotten any feedback for it yet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.