Jump to content



Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Oblivion Knight : (26 February 2024 - 11:30 AM) Whoa I can edit a typo. The technology.
@  Oblivion Knight : (26 February 2024 - 11:29 AM) Obligatory message.
@  Elwood : (02 January 2024 - 04:19 AM) Happy New Year!!!
@  Aaron : (13 February 2023 - 09:19 PM) I'm still out here alive. If you remember me, I hope you're doing well!
@  Aaron : (13 February 2023 - 09:09 PM) 2023 and this place is still up huhh
@  Elwood : (05 January 2023 - 07:58 AM) Ah a Christmas greeting from Wolfie! Even if I saw it way late Merry Christmas and Happy New Year to everybody!
@  Cero : (31 December 2022 - 09:27 PM) Man that bot went crazy
@  Whitewolf8 : (24 December 2022 - 10:02 AM) I return once more on the eve of Christmas to haunt you all again!... Mainly Elwood. Hello!
@  Elwood : (25 November 2022 - 04:58 AM) A bot! Ah the nostalgia!
@  Elwood : (02 November 2022 - 02:30 PM) Yo ho ho ho! Thar be the white wolf!
@  Whitewolf8 : (24 October 2022 - 12:29 AM) Well, blimey it's been a while. Hoy there! If anyone's still alive here anyway.
@  Valke : (21 April 2022 - 12:12 PM) im taking the 2nd shout of 2022 😂
@  Elwood : (03 March 2022 - 10:12 PM) Mwuhahaha! The first shout of 2022 is mine!
@  Fire Blazer : (12 November 2021 - 05:22 PM) *also stretches arms a little*
@  xcrash1998 : (07 November 2021 - 08:42 PM) "streches arms"
@  Ezra : (07 May 2021 - 05:20 AM) Maybe I'll pop on the discord soon
@  Fire Blazer : (01 April 2021 - 08:08 PM) Aaaaaaand done~ :P
@  xcrash1998 : (29 March 2021 - 08:52 AM) I guess we are one more post away from counting to 2500
@  Fire Blazer : (10 March 2021 - 11:39 PM) but I have bad memory and can't remember ;(
@  Elwood : (15 February 2021 - 10:23 AM) I'd like to but I've told you about my issues with discord before.

Photo

Event Assembler Errors

Event Assembler FE7

  • Please log in to reply
1 reply to this topic

#1 Creasingmist

Creasingmist

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 November 2015 - 09:50 PM

I am trying to mod FE7 and have a new event script I am trying to put into the game using Event Assembler. I have done this already with a different script, but did not get any errors. Here is the error message:

 

Finished.
Messages:
Tutorials disabled

46 errors encountered:
File Chap2 Events.txt, Line 11, Column 1: Code POIN's offset $D801EA is not divisible by 4
File Chap2 Events.txt, Line 12, Column 1: Code POIN's offset $D801EE is not divisible by 4
File Chap2 Events.txt, Line 13, Column 1: Code POIN's offset $D801F2 is not divisible by 4
File Chap2 Events.txt, Line 14, Column 1: Code POIN's offset $D801F6 is not divisible by 4
File Chap2 Events.txt, Line 15, Column 1: Code POIN's offset $D801FA is not divisible by 4
File Chap2 Events.txt, Line 16, Column 1: Code POIN's offset $D80202 is not divisible by 4
File Chap2 Events.txt, Line 17, Column 1: Code POIN's offset $D80212 is not divisible by 4
File Chap2 Events.txt, Line 18, Column 1: Code POIN's offset $D80222 is not divisible by 4
File Chap2 Events.txt, Line 21, Column 1: Code UNIT's offset $D8022A is not divisible by 4
File Chap2 Events.txt, Line 24, Column 1: Code UNIT's offset $D8023A is not divisible by 4
File Chap2 Events.txt, Line 27, Column 1: Code TURN's offset $D8024A is not divisible by 4
File Chap2 Events.txt, Line 28, Column 1: Code TURN's offset $D8025A is not divisible by 4
File Chap2 Events.txt, Line 29, Column 1: Code END_MAIN's offset $D8026A is not divisible by 4
File Chap2 Events.txt, Line 32, Column 1: Code END_MAIN's offset $D8026E is not divisible by 4
File Chap2 Events.txt, Line 35, Column 1: Code END_MAIN's offset $D80272 is not divisible by 4
File Chap2 Events.txt, Line 38, Column 1: Code AFEV's offset $D80276 is not divisible by 4
File Chap2 Events.txt, Line 39, Column 1: Code ASME's offset $D80282 is not divisible by 4
File Chap2 Events.txt, Line 40, Column 1: Code TURN's offset $D8028E is not divisible by 4
File Chap2 Events.txt, Line 41, Column 1: Code END_MAIN's offset $D8029E is not divisible by 4
File Chap2 Events.txt, Line 44, Column 1: Code END_MAIN's offset $D802A2 is not divisible by 4
File Chap2 Events.txt, Line 47, Column 1: Code LOU1's offset $D802A6 is not divisible by 4
File Chap2 Events.txt, Line 48, Column 1: Code ENUN's offset $D802AE is not divisible by 4
File Chap2 Events.txt, Line 49, Column 1: Code OOBB's offset $D802B2 is not divisible by 4
File Chap2 Events.txt, Line 50, Column 1: Code ENDA's offset $D802B6 is not divisible by 4
File Chap2 Events.txt, Line 54, Column 1: Code UNIT's offset $D802BE is not divisible by 4
File Chap2 Events.txt, Line 55, Column 1: Code UNIT's offset $D802CE is not divisible by 4
File Chap2 Events.txt, Line 56, Column 1: Code UNIT's offset $D802DE is not divisible by 4
File Chap2 Events.txt, Line 58, Column 1: Code UNIT's offset $D802EE is not divisible by 4
File Chap2 Events.txt, Line 60, Column 1: Code UNIT's offset $D802FE is not divisible by 4
File Chap2 Events.txt, Line 61, Column 1: Code UNIT's offset $D8030E is not divisible by 4
File Chap2 Events.txt, Line 62, Column 1: Code UNIT's offset $D8031E is not divisible by 4
File Chap2 Events.txt, Line 63, Column 1: Code UNIT's offset $D8032E is not divisible by 4
File Chap2 Events.txt, Line 64, Column 1: Code UNIT's offset $D8033E is not divisible by 4
File Chap2 Events.txt, Line 65, Column 1: Code UNIT's offset $D8034E is not divisible by 4
File Chap2 Events.txt, Line 68, Column 1: Code FADI's offset $D8035E is not divisible by 4
File Chap2 Events.txt, Line 69, Column 1: Code BACG's offset $D80362 is not divisible by 4
File Chap2 Events.txt, Line 70, Column 1: Code FADU's offset $D80366 is not divisible by 4
File Chap2 Events.txt, Line 71, Column 1: Code TEX1's offset $D8036A is not divisible by 4
File Chap2 Events.txt, Line 72, Column 1: Code REMA's offset $D80372 is not divisible by 4
File Chap2 Events.txt, Line 73, Column 1: Code ENDA's offset $D80376 is not divisible by 4
File Chap2 Events.txt, Line 77, Column 1: Code UNIT's offset $D8037E is not divisible by 4
File Chap2 Events.txt, Line 78, Column 1: Code UNIT's offset $D8038E is not divisible by 4
File Chap2 Events.txt, Line 79, Column 1: Code ENDA's offset $D8039E is not divisible by 4
File Chap2 Events.txt, Line 82, Column 1: Code TEX1's offset $D803A6 is not divisible by 4
File Chap2 Events.txt, Line 83, Column 1: Code REMA's offset $D803AE is not divisible by 4
File Chap2 Events.txt, Line 84, Column 1: Code ENDA's offset $D803B2 is not divisible by 4

No data written to output.
 

 

Here is the script I am trying to put in:

#define DISABLE_TUTORIALS
#include EAstdlib.event

EventPointerTable(0x09,Pointers)

//After the ending offset of the previous chapter plus a bit more.
//You can use event assembler to check.
ORG 0xD801EA

Pointers:
POIN Turn_events
POIN Character_events
POIN Location_events
POIN Misc_events
POIN TrapData TrapData
POIN Bad Bad Bad Bad
POIN Good Good Good Good
POIN Opening_event Ending_event

Good:
UNIT

Bad:
UNIT

Turn_events:
TurnEventPlayer(0x0,Opening_event,1)
TurnEventPlayer(0x0,SpawnEveryTurn,2,7)
End_MAIN

Character_events:
End_MAIN

Location_events:
End_MAIN

Misc_events:
CauseGameOverIfLordDies
DefeatAll(Ending_event)
TurnEventPlayer(0x0,StoppedComing,8)
End_MAIN

TrapData:
End_MAIN

Opening_event:
LOU1 LoadAllUnits
ENUN
OOBB
ENDA

//Loads Characters that had been loaded in on pervious chapters
LoadAllUnits:
UNIT 0x01 0x01 0x01 Level(1, Ally, 0) [1,19] [1,19] [0x03, 0x6B] NoAI //Eliwood- Eliwood Lord
UNIT 0x02 0x03 0x01 Level(1, Ally, 0) [0,19] [0,19] [0x1F, 0x6B] NoAI //Hector- Hector Lord
UNIT 0x1A 0x2A 0x00 Level(1, Ally, 0) [2,19] [2,19] [0x03, 0x14, 0x6B] NoAI //Marcus- Paladin

UNIT Lyn 0x02 0x00 Level(1, Ally, 0) [2,20] [2,20] [SteelSword, Vulnerary] NoAI

UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [2,18] [7,12] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,11] [7,11] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [8,11] [8,11] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,10] [8,10] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [3,9] [3,9] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT

Ending_event:
FADI 10
BACG 0x1D
FADU 10
TEX1 0x819
REMA
ENDA

// Events
SpawnEveryTurn:
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,0] [7,0] [0x28] PursueWithoutHeed //Bandit- Brigand
UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [6,0] [6,0] [0x28] PursueWithoutHeed //Bandit- Brigand
ENDA

StoppedComing:
TEX1 0x818
REMA
ENDA
// Manual Movement

// Scripted Fights

// Units

// Shop Data


#2 Fire Blazer

Fire Blazer

    You ready?

  • Creator
  • 12,103 posts
  • Gender:Male
  • Location:U.S.A.
  • Interests:Too many to list. =P

Posted 02 November 2015 - 12:56 AM

I think your problem is this line:

 

 

ORG 0xD801EA

 

that "not divisible by 4" error happens when you try to write data to an offset that, well... isn't divisible by 4. In hex, counting by 4's goes like:

 

0x00, 0x04, 0x08, 0x0C, 0x10, 0x14, etc.

 

so your offset should essentially end in either 0, 4, 8, or C. Personally, I prefer to keep it easy and just stick to 0, but the others should work.

 

So in short, try changing your offset to free space that ends in 0, 4, 8, or C (e.g. 0xD801F0), save, and reassemble, and those errors should go away.

 

Good luck!


Bblazer2.png

Signature thanks to Shu.






Also tagged with one or more of these keywords: Event Assembler, FE7

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users