Jump to content

FE7 Event trouble


Sephiran59
 Share

Recommended Posts

So I decided to make my own question topic on this instead of keeping it within the event assembly problems thread

 

Heres my code:

Spoiler

#include EAstdlib.event
#define DISABLE_TUTORIALS


EventPointerTable(0x06,Pointers)

ORG $D80000
Pointers:
POIN TurnBasedEvents
POIN CharacterBasedEvents
POIN LocationBasedEvents
POIN MiscBasedEvents
POIN TrapsEliwoodMode TrapsHectorMode
POIN EnemyUnitsENM EnemyUnitsENM EnemyUnitsENM EnemyUnitsENM
POIN AllyUnitsENM AllyUnitsENM AllyUnitsENM AllyUnitsENM
POIN BeginningScene EndingScene

EnemyUnitsENM:
UNIT

AllyUnitsENM:
UNIT 0x03 0x14 0x00 0x01 [18,19] [18,17] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]
UNIT 0x04 0x14 0x03 0x01 [19,18] [17,18] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]

TurnBasedEvents:
TURN 0x0 BeginningScene [1,0] 0x0 0x0
//TURN 0x0 Scene2 [1,0] 0x0 0x0
END_MAIN

CharacterBasedEvents:
END_MAIN

LocationBasedEvents:
LOCA 0x3 [8,2] 0xF
//Door(8,12)
//Door(9,12)
END_MAIN

MiscBasedEvents:
END_MAIN

TrapsEliwoodMode:
ENDTRAP

TrapsHectorMode:
ENDTRAP

ORG $D800B8
BeginningScene:
LOU1 EnemyUnitsENM
ENUN
LOU1 AllyUnitsENM
ENUN
ENDA

EndingScene:
_0xA3
MUSC 0x38
TEX1 0x833
REMA
MUEN 6
FADICG 3
HIDEMAP
ASMC 0x7A939 0x7A8B9 0x7A9D5
STAL 30
MUSC 0x3AB
FADUCG 2
SHOWMAP
STAL 60
TEXTCG 0x834 0x1
MUEN 4
FADI 16
HIDEMAP
ASMC 0x7A95D
BACG 0x0
MUSC 0x3F
FADU 16
SHOWMAP
TEX1 0x835
MUEN 2
STAL 32
MUSM 0x51 0x4
MORETEXT 0x836
MUEN 2
STAL 32
MUSC 0x3F
MORETEXT 0x837
STAL 64
MORETEXT 0x838
FADI 4
HIDEMAP
BACG 0x5B
FADU 4
SHOWMAP
STAL 8
TEX6 0x5 [0,0] 0x839
_ASM0x42 0x83181
GOTO 0x34
LABEL 0x33
FADI 4
HIDEMAP
BACG 0x5B
LABEL 0x34
MNCH 0x1
STAL 1
_0x1
ENDA
 

Everything in EndingScene is straight from the base prologue events, so it shouldn't be a problem. No idea what causes this I could really use some help.

Upon loading the chapter I get a black screen endlessly, thanks

Edited by Sephiran59
Link to comment
Share on other sites

6 hours ago, Sephiran59 said:

AllyUnitsENM:
UNIT 0x03 0x14 0x00 0x01 [18,19] [18,17] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]
UNIT 0x04 0x14 0x03 0x01 [19,18] [17,18] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]

 

should be

Spoiler

AllyUnitsENM:
UNIT 0x03 0x14 0x00 0x01 [18,19] [18,17] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]

UNIT 0x04 0x14 0x03 0x01 [19,18] [17,18] [0x14, 0x6B, 0x69, 0x00] [0x00, 0x00, 0x00, 0x00]

UNIT

 

6 hours ago, Sephiran59 said:

BeginningScene:
LOU1 EnemyUnitsENM
ENUN
LOU1 AllyUnitsENM
ENUN
ENDA

 

your beggining scene has no fade out of black screen event, i would suggest adding a FADI 16 at the beggining and a FADU 16 at the end

6 hours ago, Sephiran59 said:

TurnBasedEvents:
TURN 0x0 BeginningScene [1,0] 0x0 0x0
//TURN 0x0 Scene2 [1,0] 0x0 0x0

why are you loading two turns event at the same time and what is Scene2? EDIT: oh wait Scene2 is commented out my bad

can't find any other glaring error, i'll try and look if anything is missing compared to the template and update my post if so.

EDIT2: looking at the fe7 template i found an opening event macro, you should probably use that instead 

Spoiler

OpeningTurnEvent(BeginningScene)
 

 

Edited by Kirb1337
Found stuff
Link to comment
Share on other sites

The answer to your question is 10.1.1 FULL, now ill post my results after I try out your advice. The only knowledge I have of this code is what Arch has in his first 3 youtube videos and his really long event tutorial which are sorta old so I might be using outdated commands or something idk

 

EDIT:

Wow the FADI FADU thing fixed the black screen thanks so much.

So now I have 2 questions for future reference, Is dissembling and editing a chapter not a good way to make chapters? and Should every scene have a fade in and fade out, then?

Edited by Sephiran59
Link to comment
Share on other sites

first off:use ea 11.0.1.

second off : If you only are making small edits to a chapter, disassembly is fine. however, if you are making a completely new chapter, then you'd probably want to create your own events(you can still look at disassembled chapters for reference on what to do, tho).

On 21/04/2017 at 3:39 AM, Sephiran59 said:

Should every scene have a fade in and fade out, then?

you should do this with your opening events, and also things like fade to black, load a background, fade out(because it is 99% smoother). 

Link to comment
Share on other sites

On 4/22/2017 at 4:48 AM, Kirb1337 said:

first off:use ea 11.0.1.

What differences do the two versions have? 

 

EDIT:

never mind i misread that, ill download it

Edited by Sephiran59
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...