Mighty Kamina Posted August 8, 2012 Share Posted August 8, 2012 I'm having some trouble with my custom event. I have my event set up like this: //Made by markyjoe1990 of Youtube//Modified by Nintenlord #define DISABLE_TUTORIALS #include EAstdlib.event EventPointerTable(0x06,Pointers) ORG 0xD8000 Pointers: POIN TurnEvents POIN CharacterEvents POIN LocationEvents POIN MiscEvents POIN TerrainEvents TerrainEvents POIN Bad Bad Bad Bad POIN Good Good Good Good POIN OpeningEvent EndingEvent Bad: UNIT Good: UNIT Lyn LynLord 0x00 Level(1,Ally,False) [12,10] [14,06] [ironSword] [0x00,0x00,0x00,0x00] TurnEvents: TURN 0x00 OpeningEvent [01,00] 0x00 0x00 CharacterEvents: CHAR LocationEvents: LOCA MiscEvents: CauseGameOverIfLordDies AFEV TerrainEvents: BLST ALIGN 4 OpeningEvent: LOU1 Good ENUN ENDA EndingEvent: //MNCH 0x?? //STAL 1 //_0x1 ENDA MESSAGE Events end at offset currentOffset //The map for this chapter is at offset: 0x06 After Lyn spawns and moves, the camera moves and all of a sudden it glitches my map up (copying objects) and then sends me back to the start screen. My map (using for testing out talk events, reinforcements, recruiting units,etc): Any suggestions on what I should do? Quote Link to comment Share on other sites More sharing options...
Arch Posted August 8, 2012 Share Posted August 8, 2012 You didn't close the TURN listing with an empty TURN code. Same with your unit listing for Lyn (you didn't have an empty UNIT code). These empty codes tell the game that the list (for turn events or units) has ended; without them, the game keeps reading for that data. TurnEvents:TURN 0x00 OpeningEvent [01,00] 0x00 0x00 TURN Good:UNIT Lyn LynLord 0x00 Level(1,Ally,False) [12,10] [14,06] [ironSword] [0x00,0x00,0x00,0x00] UNIT Quote Link to comment Share on other sites More sharing options...
Mighty Kamina Posted August 8, 2012 Author Share Posted August 8, 2012 You didn't close the TURN listing with an empty TURN code. Same with your unit listing for Lyn (you didn't have an empty UNIT code). These empty codes tell the game that the list (for turn events or units) has ended; without them, the game keeps reading for that data. Thanks, that helps a lot. Quote Link to comment Share on other sites More sharing options...
AstraLunaSol Posted August 8, 2012 Share Posted August 8, 2012 (edited) Also, try to keep event questions in the EA questions thread. Edited August 8, 2012 by AstraLunaSol 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.