Jump to content

Event assembler error


escotanner
 Share

Recommended Posts

So, I'm trying to put a script into my hack, but it keeps saying there's an error at Line 162 at column 1. Here's my script:

#define DISABLE_TUTORIALS
#include EAstdlib.event

EventPointerTable(0x0F,Pointers)

ORG 0xD80A88

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(3, Ally, 0) [13,29] [13,24] [0x00] NoAI
UNIT 0x02 0x28 0x01 Level(3, Ally, 0) [15,29] [14,25] [0x00] NoAI
UNIT 0x2D 0x02 0x01 Level(3, Ally, 0) [16,29] [15,24] [0x00] NoAI
UNIT 0x24 0x3C 0x01 Level(3, Ally, 0) [17,29] [16,25] [0x00] NoAI
UNIT 0x04 0x14 0x01 Level(3, Ally, 0) [15,27] [15,25] [0x00] NoAI
UNIT 0x31 0x1D 0x01 Level(3, Ally, 0) [13,27] [13,25] [0x00] NoAI
UNIT

Bad:
UNIT 0x8D 0x0E 0x8D Level(4, Enemy, 1) [14,1] [14,1] [0x01, 0x0D] Guard
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [2,4] [2,4] [0x14] Guard
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [27,4] [27,4] [0x14] Guard
UNIT 0x61 0x38 0x8D Level(3, Enemy, 1) [13,20] [13,20] [0x14] Guard
UNIT 0x61 0x38 0x8D Level(3, Enemy, 1) [14,20] [14,20] [0x14] Guard
UNIT 0x61 0x38 0x8D Level(3, Enemy, 1) [15,20] [15,20] [0x14] Guard
UNIT 0x61 0x38 0x8D Level(3, Enemy, 1) [16,20] [16,20] [0x14] Guard
UNIT 0x61 0x18 0x8D Level(3, Enemy, 1) [13,19] [13,19] [0x32] Guard
UNIT 0x61 0x18 0x8D Level(3, Enemy, 1) [14,19] [14,19] [0x32] Guard
UNIT 0x61 0x18 0x8D Level(3, Enemy, 1) [15,19] [15,19] [0x32] Guard
UNIT 0x61 0x18 0x8D Level(3, Enemy, 1) [16,19] [16,19] [0x32] Guard
UNIT 0x61 0x1D 0x8D Level(3, Enemy, 1) [14,18] [14,18] [0x4B] HealUnits
UNIT 0x61 0x1D 0x8D Level(3, Enemy, 1) [15,18] [15,18] [0x4B] HealUnits
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [7,17] [7,17] [0x16, 0x78] Guard
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [22,17] [22,17] [0x16, 0x78] Guard
UNIT 0x61 0x3C 0x8D Level(3, Enemy, 1) [7,0] [7,0] [0x01, 0x6A] StealFromChests
UNIT 0x61 0x3C 0x8D Level(3, Enemy, 1) [22,0] [22,0] [0x01, 0x6A] StealFromChests
UNIT 0x61 0x24 0x8D Level(3, Enemy, 1) [4,16] [4,16] [0x44] AttackInRange
UNIT 0x61 0x24 0x8D Level(3, Enemy, 1) [1,16] [1,16] [0x44] AttackInRange
UNIT 0x61 0x24 0x8D Level(3, Enemy, 1) [25,16] [25,16] [0x44] AttackInRange
UNIT 0x61 0x24 0x8D Level(3, Enemy, 1) [28,16] [28,16] [0x44] AttackInRange
UNIT 0x61 0x1C 0x8D Level(3, Enemy, 1) [24,8] [24,8] [0x3E] AttackInRange
UNIT 0x61 0x1C 0x8D Level(3, Enemy, 1) [21,8] [21,8] [0x3E] AttackInRange
UNIT 0x61 0x1C 0x8D Level(3, Enemy, 1) [21,3] [21,3] [0x3E] AttackInRange
UNIT 0x61 0x1C 0x8D Level(3, Enemy, 1) [24,3] [24,3] [0x3E] AttackInRange
UNIT 0x61 0x20 0x8D Level(3, Enemy, 1) [5,8] [5,8] [0x37] AttackInRange
UNIT 0x61 0x20 0x8D Level(3, Enemy, 1) [8,8] [8,8] [0x37] AttackInRange
UNIT 0x61 0x20 0x8D Level(3, Enemy, 1) [5,3] [5,3] [0x37] AttackInRange
UNIT 0x61 0x20 0x8D Level(3, Enemy, 1) [8,3] [8,3] [0x37] AttackInRange
UNIT 0x61 0x0A 0x8D Level(3, Enemy, 1) [12,8] [12,8] [0x01] AttackInRange
UNIT 0x61 0x0A 0x8D Level(3, Enemy, 1) [17,8] [17,8] [0x01] AttackInRange
UNIT 0x61 0x0A 0x8D Level(3, Enemy, 1) [12,4] [12,4] [0x01] AttackInRange
UNIT 0x61 0x0A 0x8D Level(3, Enemy, 1) [17,4] [17,4] [0x01] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [7,12] [7,12] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [7,13] [7,13] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [6,12] [6,12] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [6,13] [6,13] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [23,12] [23,12] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [22,13] [22,13] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [23,13] [23,13] [0x1F, 0x28] AttackInRange
UNIT 0x61 0x12 0x8D Level(3, Enemy, 1) [22,12] [22,12] [0x1F, 0x28] AttackInRange
UNIT

Turn_events:
TurnEventPlayer(0x0,EventAfterExitingPrepScreen,1)
TurnEventPlayer(0x0,Evil_Dudes,15)
End_MAIN

Character_events:
CharacterEvent(0x0,Old_Friends,0x01,0x13)
CharacterEvent(0x0,Lady_of_the_Lake,0x01,0x25)
End_MAIN

Location_events:
Chest(0x2C,11,17)
Chest(0x83,18,17)
End_MAIN

Misc_events:
CauseGameOverIfLordDies
DefeatAll(Ending_event)
End_MAIN

TrapData:
End_MAIN

Opening_event:
OOBB
MUS1 0x34
FADI 10
BACG 0x15
TEX1 0x828
REMA
MUEN 10
LOU1 Bad
ENUN
LOU1 Rescue
ENUN
CAM1 0x8D
CURF 0x8D
CURE
FADI 10
MUS1 0x53
BACG 0x10
MORETEXT 0x829
REMA
LOU1 Good
MUS1 0x32
FADI 10
MORETEXT 0x82A
REMA
ENDB

Ending_event:
FADI 10
MUS1 0x39
BACG 0x15
TEX1 0x830
MNCH 0x03
ENDA

// Events
EventAfterExitingPrepScreen:
OOBB
FADI 10
CURF 0x01
CURE
TEX1 0x82B
REMA
ENDA

Evil_Dudes:
LOU1 Altean_Scum
ENUN
ENDA

Old_Friends:
MUS1 0x42
TEX1 0x82C
REMA
TurnAlly(0x13)
ENDA

Lady_of_the_Lake:
MUS1 0x3A
TEX1 0x82D
REMA
ENDA

// Manual Movement

// Scripted Fights

// Units
Rescue:-The bold letter is where it keeps saying there's an error.
UNIT 0x13 0x18 0x8D Level(2, NPC, 0) [1,1] [1,1] [0x00] Guard
UNIT 0x25 0x40 0x8D Level(2, NPC, 0) [28,1] [28,1] [0x00] Guard
UNIT

Altean_Scum:
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [5,25] [5,25] [0x14] PursueWithoutHeed
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [5,28] [5,28] [0x14] PursueWithoutHeed
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [15,28] [15,28] [0x14] PursueWithoutHeed
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [25,28] [25,28] [0x14] PursueWithoutHeed
UNIT 0x61 0x14 0x8D Level(3, Enemy, 1) [25,25] [25,25] [0x14] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [0,7] [0,7] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [7,0] [7,0] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [22,0] [22,0] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [29,7] [29,7] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [0,12] [0,12] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [0,13] [0,13] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [29,12] [29,12] [0x15] PursueWithoutHeed
UNIT 0x61 0x38 0x00 Level(3, Enemy, 1) [29,13] [29,13] [0x15] PursueWithoutHeed
UNIT 0x61 0x12 0x00 Level(3, Enemy, 1) [12,0] [12,0] [0x1F] PursueWithoutHeed
UNIT 0x61 0x12 0x00 Level(3, Enemy, 1) [17,0] [17,0] [0x1F] PursueWithoutHeed
UNIT

// Shop Data

MESSAGE Events end at offset currentOffset

Did I overlook something?

Link to comment
Share on other sites

There's probably a naming problem, since Rescue is already defined for the Rescue staff. Try changing it to RescueUnits or something.

For future reference, it also helps if you post the exact error, rather than just "there's an error".

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