• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 25, 2024, 12:40:05 am

problem with Battle

Started by AnnabetH, December 03, 2014, 10:49:37 am

AnnabetH


The battle is not starting correctly, the character stands still and makes no action in battle


Offset(x00008000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.
Text(x00000337)
//Remove the previous line if you wish text to compile directly after instructions.

Camera(+00504,+00067,+00616,+00414,+02560,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
{63}(rA9)
Camera(+00392,+00067,+00616,+00302,+00512,+00000,+04096,+00360)
WaitForInstruction(x04,x00)
{4D}(r40)
Wait(00060)
WarpUnit(x01,x00,003,010,x00,x02)
Sound(x004C)
AddUnitPrep()
UnitPresent(x01,x00,x00)
{82}()
AddUnitStart()
Wait(00060)
WalkTo(x01,x00,003,007,x00,x00,+008,x01)
WaitWalk(x01,x00)
Sound(x0038)
UnitAnim(x12,x00,x42,x00,x00)
Wait(00060)
UnitAnim(x08,x00,x19,x00,x00)
Wait(00060)
Sound(x0044)
UnitAnim(x08,x00,x1A,x00,x00)
Wait(00180)
DisplayMessage(x10,x11,x0001,x12,x00,x00,+00000,+00060,+00000,x00)
Wait(00100)
DisplayMessage(x10,x11,x0002,x01,x00,x00,+00000,+00060,+00000,x00)
Wait(00100)
Camera(+00504,+00019,+01176,+00302,-00512,+00000,+04096,+00064)
WarpUnit(x05,x00,005,006,x00,x00)
WarpUnit(x03,x00,003,008,x00,x00)
WarpUnit(x83,x00,000,005,x00,x03)
WaitForInstruction(x04,x00)
ColorUnit(x05,x00,x01,+000,+000,+127,004)
Wait(00002)
ColorUnit(x03,x00,x01,+000,+000,+127,004)
Wait(00002)
ColorUnit(x83,x00,x01,+000,+000,+127,004)
Wait(00002)
ColorUnit(x02,x00,x01,+000,+000,+127,004)
Wait(00002)
Music(x01,+096,000)
Wait(00030)
{1C}(r02)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
March(x00,x00,008)
{63}(rA8)
CallFunction(x05)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Strange Warrior{br}
{font:00}Ou entrega a princesa{br}
ou acabara morto   {br}
como esse seu mero homem...{end}

//Message x02
{font:08}john{br}
{font:00}Você que é um homem morto.{br}
{br}
Seu tempo está acabando{br}
Não sei quais as suas intensões mais eliminaremos você...{end}

(Ignored message, braziliam language)

3lric

December 04, 2014, 01:18:09 am #1 Last Edit: December 04, 2014, 07:48:01 am by Elric
What is that CallFunction 5 you have in there?

Also, do you have this setup in a battle event? Did you adjust the attack.out and conditions to allow it?

I'll need some more info, preferably screencaps of your units ENTD settings as well as your attack.out settings
  • Modding version: PSX

AnnabetH




Event remake. but battle dont work

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


Camera(-00320,-01744,+01168,-00114,+00528,-00032,+00992,+00001)
BgSound(x01,+000,+024,x00,255)
Weather(x02,x01)
UnitAnim(x34,x00,x02,x00,x00)
UnitAnim(x86,x00,x02,x00,x00)
SpriteMove(x34,x00,+00000,+00000,+00013,x01,x01,+00000)
UnitAnim(x00,x00,x02,x00,x00)
Background(048,056,048,048,056,096,000,x00)
ColorField(x04,-003,-001,+003,000)
Wait(00002)
{66}()
{4D}(r60)
{1D}()
Camera(+00608,-00768,+01168,-00178,+00656,-00032,+03072,+00286)
Camera(+00608,-00672,+01136,+00142,+01344,-00032,+03296,+00128)
Camera(+01024,-00400,+00720,+00334,+02432,+00000,+03808,+00080)
Camera(+00960,-00288,+00800,+00382,+03008,+00000,+04064,+00088)
Camera(+00927,-00128,+00816,+00413,+03582,+00000,+04096,+00100)
{1E}()
Wait(00020)
Wait(00200)
{1A}(r041E1E1E04)
WaitForInstruction(x06,x00)
{63}(rAA)
Background(184,188,119,016,029,061,001,x01)
ColorField(x04,-008,+000,+004,001)
Wait(00010)
Background(048,056,048,048,056,096,004,x00)
ColorField(x08,+000,+000,+000,004)
Wait(00045)
BgSound(x12,+127,+127,x01,200)
Wait(00170)
Background(113,124,106,016,016,024,001,x01)
ColorField(x00,-001,+000,+002,001)
Wait(00010)
Background(048,056,048,048,056,096,004,x00)
ColorField(x08,+000,+000,+000,004)
Wait(00030)
BgSound(x12,+127,+127,x01,200)
WaitForInstruction(x04,x00)
Camera(+00504,+00067,+00616,+00414,+02560,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
{63}(rA9)
{4D}(r5A)
Camera(+00392,+00067,+00616,+00302,+00512,+00000,+04096,+00360)
WaitForInstruction(x04,x00)
WaitForInstruction(x04,x00)
{63}(r89)
AddUnitPrep()
UnitPresent(x01,x00,x00)
{82}()
AddUnitStart()
RotateUnit(x01,x01,x01,x00,x01,000)
Wait(00060)
BlockStart()
WalkTo(x01,x00,003,007,x00,x00,+008,x01)
WaitWalk(x01,x00)
BlockEnd()
Wait(00060)
UnitAnim(x12,x00,x42,x00,x00)
Sound(x0038)
Wait(00060)
UnitAnim(x08,x00,x19,x00,x00)
Wait(00060)
Sound(x0044)
UnitAnim(x08,x00,x1A,x00,x00)
Wait(00180)
Erase(x08,x00)
DisplayMessage(x10,x10,x0001,x12,x00,x00,+00000,+00060,+00000,x00)
WaitForInstruction(x01,x00)
Wait(00100)
DisplayMessage(x10,x12,x0002,x01,x00,x00,+00000,+00060,+00000,x00)
WaitForInstruction(x01,x00)
Wait(00100)
Camera(+00504,+00019,+01176,+00302,-00512,+00000,+04096,+00064)
WaitForInstruction(x04,x00)
Music(x01,+096,000)
Wait(00030)
{1C}(r02)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Strange Warrior{br}
{font:00}Ou entrega a princesa{br}
ou acabara morto   {br}
como esse seu mero homem...{end}

//Message x02
{font:08}Neo{br}
{font:00}Bom, voce ira se arrepender{br}
amargamente pelo que fez{br}
.....{end}


Pride

Did you change the event script through the spreadsheet? You also have Go to World Map when it should be blank. If you're making a battle the same way vanilla did, you should have at minimum three different attack.out sheets.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?