Jump to content

Event help


Mighty Kamina
 Share

Recommended Posts

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):

post-3699-094359600 1344460075_thumb.png

Any suggestions on what I should do?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...