• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 28, 2024, 02:34:21 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


help with evnt compiler!!

Started by mnm, June 14, 2010, 08:20:47 am

mnm

hello everyone i'm having a problem i want to edit text in militaryacademy  
it is my event.txt when i put it, text is no problem but it can't progress

Offset(x00010000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.

//Remove the previous line if you wish text to compile directly after instructions.

{7C}()
LoadEVTCHR(x01,x02,x00)
WaitForInstruction(x34,x00)
SaveEVTCHR(x01)
Camera(+00616,-00640,+00615,+00302,+03584,+00000,+04096,+00001)
UnitAnim(x00,x00,x02,x00,x00)
SpriteMove(x81,x00,+00002,-00001,-00010,x00,x01,+00001)
{6F}(r8100)
SpriteMove(x85,x00,+00008,+00000,+00000,x00,x01,+00001)
{6F}(r8500)
SpriteMove(x83,x00,+00004,+00000,-00014,x00,x01,+00001)
{6F}(r8300)
{2C}(r81008400000200)
{2C}(r80008500000200)
RotateUnit(x04,x00,x08,x00,x02,000)
{64}(r0400)
RotateUnit(x01,x00,x04,x00,x01,000)
{64}(r0100)
UnitAnim(x01,x00,x58,x02,x00)
UnitAnim(x83,x00,x5C,x02,x00)
UnitAnim(x04,x00,x59,x02,x00)
UnitAnim(x85,x00,x5E,x02,x00)
Background(000,000,000,000,000,000,000,x00)
Wait(00002)
ColorField(x07,+004,+003,+001,000)
ColorUnit(x00,x00,x07,+004,+002,-001,000)
{63}(rC9)
Camera(+00616,+00128,+00615,+00302,+03584,+00000,+04096,+00128)
{4D}(r78)
WaitForInstruction(x04,x00)
Wait(00030)
DisplayMessage(x10,x0B,x0001,x01,x00,x00,+00000,+00000,+00000,x00)
WaitForInstruction(x01,x00)
Wait(00060)
ColorField(x07,+002,+001,-001,004)
ColorUnit(x00,x00,x07,+002,+000,-003,004)
ShowChapter(x01)
WaitForInstruction(x3D,x00)
WaitForInstruction(x3D,x00)
ShowMapTitle(+000,+000,+001)
BgSound(x0B,+000,+036,x3C,060)
BgSound(x0C,+000,+040,x01,060)
Wait(00060)
ColorField(x08,+000,+000,+000,008)
ColorUnit(x00,x00,x08,+000,+000,+000,008)
Wait(00065)
Focus(x81,x00,x81,x00,x00)
Camera(+01536,+00008,+04096,+00302,+03584,+00000,+04096,+00140)
WaitForInstruction(x04,x00)
{1C}(r02)
DisplayMessage(x10,x11,x0002,x81,x00,x00,+00000,+00002,+00012,x00)
WaitForInstruction(x01,x00)
DisplayMessage(x10,x12,x0003,x84,x00,x00,+00000,+00000,+00000,x00)
WaitForInstruction(x01,x00)
{1C}(r01)
Wait(00060)
{6A}(r0B24143C3C)
{6A}(r0C241C013C)
Focus(x01,x00,x01,x00,x01)
Camera(+04097,+12800,+00052,+00302,+03584,+00000,+04096,+00032)
WaitForInstruction(x04,x00)
{1C}(r02)
DisplayMessage(x10,x91,x0004,x01,x00,x00,+00000,+00000,+00008,x00)
WaitForInstruction(x01,x00)
DisplayMessage(x10,x92,x0005,x04,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
UnitAnim(x82,x00,x5B,x02,x00)
BlockStart()
Wait(00010)
UnitAnim(x83,x00,x02,x00,x00)
BlockEnd()
CloseDialog(x01,x0006,x00,x00)
WaitForInstruction(x01,x00)
Wait(00014)
UnitAnim(x04,x00,x5A,x02,x00)
Wait(00004)
CloseDialog(x02,x0007,x00,x00)
WaitForInstruction(x01,x00)
UnitAnim(x01,x00,x02,x00,x01)
Wait(00004)
CloseDialog(x01,x0008,x00,x00)
WaitForInstruction(x01,x00)
CloseDialog(x02,x0009,x00,x00)
WaitForInstruction(x01,x00)
BlockStart()
Wait(00014)
UnitAnim(x82,x00,x02,x00,x00)
BlockEnd()
CloseDialog(x01,x000A,x00,x00)
WaitForInstruction(x01,x00)
WaitForInstruction(x08,x00)
Wait(00014)
UnitAnim(x04,x00,x59,x02,x00)
BlockStart()
Wait(00020)
UnitAnim(x82,x00,x5B,x02,x00)
BlockEnd()
Wait(00004)
CloseDialog(x02,x000B,x00,x00)
WaitForInstruction(x01,x00)
WaitForInstruction(x08,x00)
CloseDialog(x01,x000C,x00,x00)
WaitForInstruction(x01,x00)
CloseDialog(x02,xFFFF,x00,x00)
Wait(00004)
CloseDialog(x01,xFFFF,x00,x00)
Wait(00004)
DisplayMessage(x10,x91,x000D,x01,x00,x09,+00070,+00062,+00015,x11)
WaitForInstruction(x01,x00)
CloseDialog(x01,xFFFF,x00,x00)
WaitForInstruction(x01,x00)
{1C}(r01)
{6A}(r0B14003C3C)
{6A}(r0C1C00013C)
Wait(00060)
RotateUnit(x83,x00,x08,x00,x01,000)
{64}(r8300)
UnitAnim(x83,x00,x03,x00,x00)
SpriteMove(x83,x00,+00000,+00000,+00000,x00,x01,+00030)
WalkTo(x01,x00,002,004,x00,x00,+004,x01)
WalkTo(x82,x00,002,005,x00,x00,+008,x01)
RotateUnit(x84,x00,x08,x00,x00,000)
Wait(00020)
RotateUnit(x80,x00,x08,x00,x00,000)
Wait(00010)
RotateUnit(x81,x00,x08,x00,x01,000)
RotateUnit(x85,x00,x08,x00,x01,000)
SpriteMove(x85,x00,+00000,+00000,+00000,x00,x01,+00030)
SpriteMove(x81,x00,+00000,+00000,+00000,x00,x01,+00030)
WalkTo(x80,x00,004,004,x00,x00,+004,x01)
UnitAnim(x83,x00,x02,x00,x00)
WalkTo(x85,x00,005,004,x00,x00,+008,x01)
WalkTo(x04,x00,001,004,x00,x00,+004,x01)
WaitWalk(x82,x00)
UnitAnim(x82,x00,x02,x00,x00)
WaitWalk(x01,x00)
{39}()
WaitForInstruction(x0B,x00)
UnitAnim(x80,x00,x02,x00,x00)
UnitAnim(x01,x00,x02,x00,x00)
UnitAnim(x04,x00,x02,x00,x00)
UnitAnim(x85,x00,x02,x00,x00)
UnitAnim(x00,x00,x02,x00,x00)
WarpUnit(x86,x00,003,000,x00,x02)
{45}(r860001)
{48}()
RotateUnit(x86,x00,x08,x00,x01,000)
{64}(r8600)
SpriteMove(x86,x00,+00000,+00000,-00034,x00,x01,+00001)
{6F}(r8600)
Draw(x86,x00)
SpriteMove(x86,x00,+00000,+00000,+00000,x00,x01,+00032)
{6F}(r8600)
WalkTo(x86,x00,003,007,x00,x00,+008,x01)
Wait(00048)
Camera(+00504,+00115,+00728,+00382,+03584,+00000,+04096,+00096)
WaitWalk(x86,x00)
UnitAnim(x86,x00,x02,x00,x00)
Wait(00030)
Sound(x0041)
RotateUnit(x86,x00,x00,x00,x01,000)
{64}(r8600)
Wait(00024)
ZERO(x0057)
ADD(x0057,x0000)
BlockStart()
{7E}(r57001C00)
UnitAnim(x86,x00,x67,x02,x00)
{7E}(r57009A00)
UnitAnim(x86,x00,x02,x00,x00)
Wait(00010)
UnitAnim(x86,x00,x68,x02,x00)
{7E}(r5700E200)
UnitAnim(x86,x00,x02,x00,x00)
BlockEnd()
DisplayMessage(x10,x11,x000E,x86,x00,x00,+00000,+00000,+00000,x00)
WaitForInstruction(x01,x00)
{45}(r870001)
{48}()
WarpUnit(x87,x00,003,000,x00,x02)
Draw(x87,x00)
WalkTo(x87,x00,003,006,x00,x00,+012,x01)
WaitWalk(x87,x00)
UnitAnim(x87,x00,x02,x00,x00)
Wait(00008)
UnitAnim(x86,x00,x69,x02,x00)
Wait(00030)
SpriteMove(x87,x00,+00000,+00000,+00006,x02,x0A,+00024)
UnitAnim(x87,x00,x5F,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x60,x02,x00)
Wait(00010)
UnitAnim(x87,x00,x61,x02,x00)
Wait(00010)
UnitAnim(x87,x00,x62,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x63,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x64,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x65,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x66,x02,x00)
Wait(00060)
UnitAnim(x87,x00,x63,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x62,x02,x00)
Wait(00008)
SpriteMove(x87,x00,+00000,+00000,+00000,x02,x0A,+00024)
UnitAnim(x87,x00,x61,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x60,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x5F,x02,x00)
Wait(00008)
UnitAnim(x87,x00,x02,x00,x00)
Wait(00010)
RotateUnit(x87,x00,x00,x00,x01,000)
{64}(r8700)
BlockStart()
WalkTo(x87,x00,003,000,x00,x00,+012,x00)
WaitWalk(x87,x00)
ColorUnit(x87,x00,x01,+000,+000,+000,001)
SpriteMove(x87,x00,+00000,+00000,-00016,x00,x01,+00008)
{6F}(r8700)
Erase(x87,x00)
BlockEnd()
Wait(00016)
{43}(r01)
Wait(00016)
UnitAnim(x86,x00,x02,x00,x00)
Wait(00016)
UnitAnim(x86,x00,x6A,x02,x00)
Wait(00004)
UnitAnim(x86,x00,x6B,x02,x00)
Wait(00006)
UnitAnim(x86,x00,x6C,x02,x00)
Wait(00012)
UnitAnim(x86,x00,x6D,x02,x00)
Wait(00020)
ZERO(x0057)
ADD(x0057,x0000)
BlockStart()
{7E}(r57009400)
Sound(x0030)
UnitAnim(x86,x00,x6E,x02,x00)
Wait(00004)
UnitAnim(x86,x00,x6F,x02,x00)
Wait(00016)
UnitAnim(x86,x00,x70,x02,x00)
Wait(00002)
UnitAnim(x86,x00,x71,x02,x00)
Wait(00006)
UnitAnim(x86,x00,x72,x02,x00)
Wait(00008)
UnitAnim(x86,x00,x73,x02,x00)
Wait(00010)
UnitAnim(x86,x00,x74,x02,x00)
BlockEnd()
DisplayMessage(x10,x91,x000F,x86,x00,x00,+00000,+00008,+00000,x01)
WaitForInstruction(x01,x00)
CloseDialog(x01,xFFFF,x00,x00)
Wait(00030)
RotateUnit(x00,x00,x00,x00,x00,024)
Wait(00024)
ColorUnit(x00,x00,x00,-031,-031,+000,004)
ColorField(x00,-031,-031,+000,004)
Wait(00033)
ColorUnit(x00,x00,x00,-031,-031,-031,004)
ColorField(x00,-031,-031,-031,004)
Wait(00033)
{3E}(r02000000FFFFFF0A00)
WaitForInstruction(x0C,x00)
WaitForInstruction(x08,x00)
ZERO(x0031)
ADD(x0031,x0006)
{43}(r06)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
 {br}
{delay:05}Delita's name appears for{br}
the first time a year before{br}
the Lion War broke out{delay:3C}.{delay:01}{br}
 {br}
 {br}
{delay:05}Many soldiers who returned from the war{delay:19},{br}
{delay:05}had no jobs{delay:19}, little money,{br}
{delay:05}and even less loyalty to the crown{delay:19}.{br}
{delay:05}Many became thieves and{br}
rebels plotting rebellion{br}
against the royal family{delay:3C}.{br}
{delay:05}At that time robbery and{br}
murder were commonplace in Ivalice{delay:19}.{br}
{delay:05}Many heroes and{br}
{delay:05}wizards came out of there{delay:19}.{br}
{delay:05}And Gariland was no exception either{delay:3C}.{end}

//Message x02
{font:08}Cadet{br}
{font:00}I heard another wagon bound{br}
for Igros was attacked.{end}

//Message x03
{font:08}Cadet{br}
{font:00}Must have been the Death Corps...{end}

//Message x04
{font:08}{Ramza}{br}
{font:00}Something's starting...{br}
Know anything, Delita?{end}

//Message x05
{font:08}Delita{br}
{font:00}No...but I can guess.{end}

//Message x06
{font:08}{Ramza} {br}
{font:00}What do you mean?{end}

//Message x07
{font:08}Delita{br}
{font:00}Prince Larg's coming to town.{end}

//Message x08
{font:08}{Ramza}{br}
{font:00}Prince Larg? Why?{end}

//Message x09
{font:08}Delita{br}
{font:00}Not only Larg, but Marquis{br}
Elmdor of Limberry, too.{end}

//Message x0A
{font:08}{Ramza}{br}
{font:00}That's news! It's not an{br}
official visit, is it?{end}

//Message x0B
{font:08}Delita{br}
{font:00}There are danger zones{br}
everywhere in Ivalice.{br}
The Hokuten Knights are in{br}
full operation, but suffering{br}
from a shortage of men.{end}

//Message x0C
{font:08}{Ramza}{br}
{font:00}So, they need us cadets.{end}

//Message x0D
Everyone, fall in!{end}

//Message x0E
{font:08}Hokuten Knight{br}
{font:00}You have a mission!{br}
{br}
As you know, barbarians are{br}
rapidly increasing here in{br}
Gallionne.{br}
The traitorous Death Corps{br}
detest the royal family.{br}
We cannot overlook them.   {br}
We will begin exteminating{br}
these traitors.{br}
By order of our Master.{br}
Larg's Knights stationed at{br}
Igros Castle and many other{br}
groups will participate.{br}
Your duty is to support the{br}
flank. Specifically, you'll go{br}
to Igros and help guard it.{end}

//Message x0F
{font:08}{D34A}{D4BF}{D179}{D36B}{D214}{D179}{D36B}{br}
{font:00}{D474}{D16A}! {D466}{D355}{D571}{D159} {D148}{D44F} {D465}{D3C2}{D268}!{br}
{br}
{D438}{D2A7}{D247} {D34A}{D4BF}{D179}{D36B}{D214}{D415} {D452}{D578} {D152}{D552}{D233}{br}
{D229}{D46C}{D214}{D452} {D456}{D21C}{D247}{D453} {D453} {D2B0}{D44F}{D290} {D229}{D2B9}{D424}{D159}{br}
{D45C}{D212}{D205} {D41C}{D269}{D44F} {D322}{D3CB}{D212}.{br}
{D438}{D2A7}{D247}{D44E} {D453}{D474}{D349}{D538}{br}
{D2B0}{D44F}{D415} {D50D}{D45A}{D571}{D205}{br}
{D1BD}{D37A}{D247}{D452} {D474}{D143}{D2A3} {D3A6}{D460}{D573}{D212}.{br}
{D474}{D16A}{D247}{D229} {D22E}{D57C}{D571}{D179} {D31E}{D26A}{D212}.{br}
{D453}{D14A}{D44E} {D46D}{D301}{D460}{D46D}{D452} {D46D}{D4C8}{D46D}{D453}{D212}!{br}
{D453}{D370}{D453}{D212} {D491}{D3A6} {D488}{D355}{D571}{D268}!{end}

philsov

are you sure you c/p'd the right file?  This looks identical to the original.
Just another rebel plotting rebellion.

mnm


philsov

OK.

Well if the message is scrolling fine but the event just won't end, then I have no clue =\.  If all you edited was the text (and it does have the {end} command), the event should still function properly.
Just another rebel plotting rebellion.

mnm

Everything is fine but after message ends, it is never move on a next screen
thank you for your help ^^