Jump to content

Unknown error?


escotanner
 Share

Recommended Posts

So I'm trying to put a script into my hack, but event assembler keeps saying that:

1 errors encountered:
File Valencia prog.txt, Line 81, Column 1: Didn't reach end, currently at IntegerLiteral(0x87)

No data written to output.

This is really confusing because I don't know what I'm doing wrong. I mean everything looks right....right? Here's the script to better analyze the situation:

#define DISABLE_TUTORIALS
#include EAstdlib.event

EventPointerTable(0x06,Pointers)

ORG 0xD80000

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 0x01 0x20 0x01 Level(1, Ally, 0) [8,10] [8,10] [0x40, 0x37, 0x44, 0x6C] NoAI
UNIT 0x2D 0x02 0x01 Level(1, Ally, 0) [10,10] [10,10] [0x02, 0x01, 0x6B] NoAI
UNIT

Bad:
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [3,2] [3,2] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [3,17] [3,17] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [16,2] [16,2] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [16,17] [16,17] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [5,14] [5,14] [0x1F] AttackInRange
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [8,15] [8,15] [0x1F] AttackInRange
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [13,14] [13,14] [0x1F] AttackInRange
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [5,8] [5,8] [0x1F] AttackInRange
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [8,4] [8,4] [0x1F] AttackInRange
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [12,8] [12,8] [0x1F] AttackInRange
UNIT 0x87 0x39 0x87 Level(2, Enemy, 0) [9,2] [9,2] [0x1F] Guard
UNIT

Turn_events:
TurnEventPlayer(0x0,Opening_event,1)
TurnEventPlayer(0x0,Batta's boys,3)
End_MAIN

Character_events:
CharacterEvent(0x0,Two squires,0x01,0x2D)
End_MAIN

Location_events:
End_MAIN

Misc_events:
CauseGameOverIfLordDies
DefeatAll(Ending_event)
End_MAIN

TrapData:
End_MAIN

Opening_event:
OOBB
FADI 10
BACG 0x18
MUS1 0x3D
TEX1 0x816
REMA
LOU1 Good
ENUN
LOU1 Bad
ENUN
LOU1 Peeps
ENUN
ENDA

Ending_event:
FADI 10
BACG 0x18
MUS1 0x38
TEX1 0x818
MNC2 0x09
ENDA

// Events
Batta's boys:-The bold B is line 81 column 1
LOU1 Douchies
ENUN
ENDA

Two squires:
MUS1 0x06
TEX1 0x817
ITGC 0x2D 0x5D
REMA
ENDA


// Manual Movement

// Scripted Fights

// Units
Douchies:
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [8,3] [8,3] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [4,8] [4,8] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [4,14] [4,14] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [8,16] [8,16] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [14,14] [14,14] [0x1F] PursueWithoutHeed
UNIT 0x0A 0x39 0x87 Level(1, Enemy, 0) [13,8] [13,8] [0x1F] PursueWithoutHeed
UNIT

Peeps:
UNIT 0x02 0x28 0x02 Level(1, NPC, 0) [0,6] [0,6] [0x00] Guard
UNIT 0x1A 0x2A 0x02 Level(1, NPC, 0) [0,7] [0,7] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,9] [0,9] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,10] [0,10] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,11] [0,11] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,12] [0,12] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,13] [0,13] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,14] [0,14] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,15] [0,15] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,16] [0,16] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,17] [0,17] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,18] [0,18] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,19] [0,19] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,5] [0,5] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,4] [0,4] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,3] [0,3] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,2] [0,2] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,1] [0,1] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,0] [0,0] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [0,8] [0,8] [0x00] Guard
UNIT 0x15 0x0C 0x02 Level(1, NPC, 0) [19,8] [19,8] [0x00] Guard
UNIT 0x0F 0x23 0x02 Level(1, NPC, 0) [19,9] [19,9] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,7] [19,7] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,6] [19,6] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,5] [19,5] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,4] [19,4] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,3] [19,3] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,2] [19,2] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,1] [19,1] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,0] [19,0] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,10] [19,10] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,11] [19,11] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,12] [19,12] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,13] [19,13] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,14] [19,14] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,15] [19,15] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,16] [19,16] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,17] [19,17] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,18] [19,18] [0x00] Guard
UNIT 0x0A 0x38 0x02 Level(1, NPC, 0) [19,19] [19,19] [0x00] Guard
UNIT


// Shop Data

MESSAGE Events end at offset currentOffset
// Shop Data

MESSAGE Events end at offset currentOffset

Is there something that I've overlooked?

Link to comment
Share on other sites

EA doesn't like spaces or apostrophes in label names, it seems. Changing Batta's boys to Battas_boys and Two Squires to Two_Squires made it work.

For future reference, put your event file in spoilers, and please use more descriptive labels in your topic other than "Help". We know you need help; that's why you're in the questions subforum. But if someone has a similar question to yours, they probably won't find this topic because the keywords are lousy. Also, there's a stickied topic for EA help.

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...