striker456 Posted November 20, 2016 Share Posted November 20, 2016 HELP! My game freezes when I use this custom event. I can assemble it with EA but when I move one of my characters, instead of the 'wait' menu coming up, the game freezes. The Event: #define DISABLE_TUTORIALS#include EAstdlib.event EventPointerTable(0x06,Pointers) ORG 0xD81234 Pointers:POIN Turn_eventsPOIN Character_eventsPOIN Location_eventsPOIN Misc_eventsPOIN TrapData TrapDataPOIN Bad Bad Bad BadPOIN Good Good Good GoodPOIN Opening_event Ending_event //Offset for this maps events end at D80332//Offset for this map is D81234 Good:UNIT Eliwood EliwoodLord 0x00 Level(1, Ally, 0) [9,0] [9,0] [Fire, Vulnerary] [0x00,0x00,0x00,0x00]UNIT Kent Soldier Eliwood Level(2, Ally, 1) [2,7] [2,7] [0x14, 0x15, Vulnerary] [0x00,0x00,0x00,0x00]UNIT Bad:UNIT Bern Soldier 0x00 Level(2, Enemy, 0) [7,9] [7,9] [0x14, Vulnerary] [0x00,0x03,0x09,0x00]UNIT Bern Soldier 0x00 Level(1, Enemy, 0) [11,6] [11,6] [0x14, Javelin, Vulnerary] [0x00,0x03,0x09,0x00]UNIT Bern Soldier 0x00 Level(1, Enemy, 0) [9,9] [9,9] [0x14, Javelin] [0x00,0x02,0x02,0x00]UNIT Bern Fighter 0x00 Level(2, Enemy, 0) [6,0] [6,0] [ironAxe, HandAxe] [0x00,0x02,0x02,0x00]UNIT Bern 0x21 0x00 Level(2, Enemy, 0) [7,7] [7,7] [0x37] [0x00,0x03,0x09,0x00]UNIT Bern Mercenary 0x00 Level(1, Enemy, 0) [15,5] [15,5] [ironSword] [0x00,0x02,0x02,0x00]UNIT Bern 0x18 0x00 Level(2, Enemy, 0) [12,3] [12,3] [0x2C] [0x00,0x02,0x02,0x00]UNIT RE1:UNIT Bern Soldier 0x00 Level(2, Enemy, 0) [15,1] [15,1] [Javelin, Vulnerary] [0x00,0x02,0x02,0x00]UNIT Bern Mercenary 0x00 Level(1, Enemy, 0) [15,5] [15,5] [ironSword] [0x00,0x02,0x02,0x00]UNIT RE2:UNIT Bern Fighter 0x00 Level(1, Enemy, 0) [15,1] [4,7] [ironAxe, HandAxe] [0x00,0x02,0x02,0x00]UNIT Bern Mercenary 0x00 Level(1, Enemy, 0) [15,7] [15,7] [ironSword] [0x00,0x02,0x02,0x00]UNIT THE_Jeigan:UNIT Marcus Paladin 0x00 Level(1, NPC, 0) [3,1] [3,1] [ironAxe, Javelin, IronSword] NoAIUNIT The_Jeigan:UNIT Marcus Paladin 0x00 Level(1, Enemy, 0) [3,1] [3,1] [ironAxe, Javelin, IronSword] [0x03,0x03,0x09,0x20]UNIT Turn_events:TurnEventPlayer(0x0,Opening_event,1)TurnEventPlayer(0x0,Bring_Out_The_Troops,3)TurnEventPlayer(0x0,Enemy_Reinforcements_Wave1,3)TurnEventPlayer(0x0,Enemy_Reinforcements_Wave2,4) End_MAIN Character_events: Bring_Out_The_Troops:TEX1 0x81AREMAENDA End_MAIN Location_events:House(0x07,House1,1,6) // creates a village with event ID 0x07ENDA House1:MUSI //The music gets quieter for house scenes tooFADI 10BACG 0x01 //Loads house with a fireplace backgroundFADU 10TEX1 0x819REMAITGV 0x60 //Gives item to the active character (the one visiting)MUNO //Undoes the music quieting effectALIGN 4ENDA End_MAIN Misc_events:CauseGameOverIfLordDies // when event 0x65 is triggered, game over screen will occurDefeatAll(Ending_event) // when all enemies are defeated, the game goes to “Ending_event”End_MAIN TrapData:End_MAIN Opening_event:OOBBLOU1 GoodSTAL 10 //stalls for 10 thingsENUNLOU1 The_JeiganENUNSTAL 10 //stalls for 10 thingsCURF Eliwood //Flash cursor on specified characterSTAL 10 //stalls for 10 thingsCURF Marcus //Flash cursor on specified characterBACG 0x04 //displays the road to villageTEX1 0x815 //displays the text at input index 0815FADU 10LOU1 BadENUNREMAMOVE Eliwood [1,8] //Moves character to specified coordinates.MOVE Kent [2,7] STAL 10 //stalls for 10 thingsMOVE Marcus [1,1] //Moves character to specified coordinates.STAL 10 //stalls for 10 thingsENUNFADI 10TEX1 0x816REMAENDA Ending_event:MUSC 0x0AFADI 10STAL 10LOU1 THE_JeiganENUNFADU 10CURF EliwoodBACG 0x04TEX2 0x817REMAWEA1 RainTEX1 0x818MOVE Eliwood MoveDataSTAL 10MOVENEXTTO Marcus EliwoodSTAL 5MOVENEXTTO Kent MarcusFADU 10MNCH 0x01ENDA // Events Enemy_Reinforcements_Wave1:LOU1 RE1ENUNENDA Enemy_Reinforcements_Wave2:LOU1 RE2ENUNENDA // Manual Movement MoveData: MOMA left left left leftMOMA left left left leftMOMA left left left leftMOMA left left // Scripted Fights // Units // Shop Data If anyone could tell me what's wrong with it, I'd be rally grateful. Quote Link to comment Share on other sites More sharing options...
Galap Posted November 20, 2016 Share Posted November 20, 2016 (edited) This happened to me a couple of times before. It happens to me occasionally when I write different versions of the event data to the same memory location twice. Try going to that location in a hex editor and overwriting the event data with 00s, then reassembling the event. Edited November 20, 2016 by Galap Quote Link to comment Share on other sites More sharing options...
Primefusion Posted November 20, 2016 Share Posted November 20, 2016 HELP! My game freezes when I use this custom event. I can assemble it with EA but when I move one of my characters, instead of the 'wait' menu coming up, the game freezes. The Event: Whenever I've seen this happen, it usually means something's been overwritten (either your events overwrote something else, or something else is overwriting your events). Try writing your events to another section of free space. Also, a couple related things: - Please put your events inside a spoiler tag. - We already have a pinned thread dedicated to event questions. Quote Link to comment Share on other sites More sharing options...
striker456 Posted November 28, 2016 Author Share Posted November 28, 2016 I tried the recommended fix and the problem has been solved! The only problem is that now for some reason when my Eliwood lord dies the game over won't trigger. I'm going to post the problem on the EA thread but thank you for the help. 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.