Author Topic: CHRONO CROSS ROOM SCRIPT INVESTIGATION THREAD (formerly event script thread)  (Read 22094 times)

OneWingedAngel

  • Iokan (+1)
  • *
  • Posts: 10
    • View Profile
Re: CHRONO CROSS ROOM SCRIPT INVESTIGATION THREAD (formerly event script thread)
« Reply #135 on: February 12, 2019, 04:13:17 pm »
The list of opcodes that was at https://www.chronocompendium.com/Term/Chrono_Cross_Fieldscript_Notes.html seems to have vanished, and the link to "fieldscript" from https://www.chronocompendium.com/Term/Chrono_Cross_Fieldscript.html is now dead.  Does anyone have an archived version of this page, or know to where it got moved?

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1763
  • Nu-chan
    • View Profile
    • Maurtopia
Re: CHRONO CROSS ROOM SCRIPT INVESTIGATION THREAD (formerly event script thread)
« Reply #136 on: February 12, 2019, 04:47:33 pm »
There are some issues with the Encyclopedia at the moment. Refreshing a page that gives a page not found error should fix it, or you can use the secondary link at https://www.chronocompendium.com/wiki/index.php/Chrono_Cross_Fieldscript_Notes

Grobycftw

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 85
  • Chilling in the Bend of Time
    • View Profile
Re: CHRONO CROSS ROOM SCRIPT INVESTIGATION THREAD (formerly event script thread)
« Reply #137 on: November 24, 2020, 11:46:45 am »
Hi :) If anyone can update the Chrono Cross Fieldscript Notes
I found what the Command :  FE 6D - Unknown     does!

FE 6D - Recover Stars to max !

If you look in the decompiled script, let's say
0425.room_023_arni_home_-_serge's_room.script.cpt

you can find
0x037E: HEAL_GROUP(249)
0x0382: opFE6D()
0x0384: CURE_ALL_STATUS_AILEMENT(249, 57)

it is always with the Heal Group/Cure Ailement function!

*It is possible to prevent the opFE6D() if you set it to 0C0C you will not recover star's when you go at the inn/serge's bed !
But I've encounter a little issue, when decompiling/recompile Termina's Inn (Home)
using PurpleCat Tools   :(
The room is corrupt, everything is fine until you try to sleep at the Inn, control's stopped and you're stuck forever :/  but all the other Inns work!




***Edit

Just founded the command
45 TT UU VVWW XX YY ZZ - Unknown, UU may be a character ID.

here's an example :
45 00 FF 1E 80 45 01 FF
0xFF is the current party leader

This Command makes the NPC (usualy it's an NPC) Run to current party leader when near by!
Strangely changing it to the Second or Third party Character doesn't change anything
but you can remove the command with no issue.

*To make my test, I always set all the value of a Command to 0C
*0C = No-op

***Edit
Command D1 is Similar to 0F XX YY.
D1 XXYY - Unknown
0F XXYY - Load NPC model: Loads the ~YYXXth NPC model for this room for the current entity.

Example :
D1 04 80
Load Model 04 for Current Entity, I think D1 is used when you have the same model loaded Multiple times in the room.
(D1 04 80 Loads the Googhoul's Model in
1358.room_334_fort_dragonia_another_-_west_maze.script.cpt)
(There's 2 Googhoul) - would need more testing/data to be 100% sure.


***Edit
I think command C5 is related to the Sound.
C5 UUVV WWXX YYZZ -  Unknown

In my example :
C5 0A 80 7F 80 00 80
This put the "Wing's Flapping" sound effect on Ghoogool
The closer you get to the Ghoogool the Louder the sound is. (not sure if it always set like this)
« Last Edit: December 12, 2020, 01:27:06 am by Grobycftw »

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: CHRONO CROSS ROOM SCRIPT INVESTIGATION THREAD (formerly event script thread)
« Reply #138 on: November 26, 2021, 03:40:09 am »
Thanks; got it all added to the fieldscript page!