Project Terra

Any information you would like to share or ask in regards to the hacking of Legend of Legaia
User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Project Terra

Post by meth962 » Thu Jul 10, 2014 9:36 pm

Just a little teaser for you faithful Legaians, this is my next project :)

Image

Nevermind the character name Carl, I took the save off GFaqs and hacked Terra in my part instead of Gala.
Last edited by meth962 on Fri Jan 27, 2017 12:34 pm, edited 2 times in total.
まさかつあがつ

GoldenPower89
Level 57
Posts: 1638
Joined: Mon Sep 09, 2013 3:12 am
Location: Indiana

Re: Project Terra

Post by GoldenPower89 » Thu Jul 10, 2014 9:47 pm

So, from what I gathered, you're going through the game with Terra? That sounds pretty easy considering Terra can't die.
Image

User avatar
Lonewulf
Level 9001
Posts: 1925
Joined: Wed Aug 31, 2011 3:29 pm
Location: Skyrim
Contact:

Re: Project Terra

Post by Lonewulf » Thu Jul 10, 2014 9:50 pm

Or can she? And what are her stats? I MUST HAVE ALL THE KNOWLEDGES!
_______
Wulf Belmont, member of the Deuce Pine Moose gang.

GoldenPower89
Level 57
Posts: 1638
Joined: Mon Sep 09, 2013 3:12 am
Location: Indiana

Re: Project Terra

Post by GoldenPower89 » Thu Jul 10, 2014 9:55 pm

Yeah. Can Terra level up? Can you pick her attacks?

...DOES SHE HAVE ARTS!?!?
Image

User avatar
Zup
Level 99
Posts: 9978
Joined: Sun Sep 25, 2011 11:22 pm

Re: Project Terra

Post by Zup » Fri Jul 11, 2014 2:10 am

Maybe Terra can take Che better than Gala.
Image

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Project Terra

Post by meth962 » Fri Jul 11, 2014 8:30 am

Funny enough, if Terra is in the third slot, it will actually show her HP/MP at the top of the screen when you stand still on the field as if she's part of your party.

I posted Terra's stats before, and they don't change. I'd love to plug her into the stats system and make her level with you.

Terra L1
HP 400 MP 200
Attack 45(45) SPD 45(45)
UDF 20(20) INT 25(25)
LDF 17(17) AGL 200

Terra's HP is set to a constant 200 every round, and I haven't confirmed her Agility (I got these stats from my old GFaqs post before I knew where agility was in memory).

Terra CAN die, I've seen it twice. Once was a Puera I played the death game with, and the other time, I was fighting three Gilium Lv3's and she disappeared. I wasn't paying attention so I didn't see her die, but noticed she wasn't in the battle anymore. When Terra dies, she actually sinks through the floor like an enemy. She still remains in the party afterwards with her stats.

Terra cannot level up and you cannot pick her attacks. She must use the same AI as she did with Noa, but I have to play with that because she was to scurred to ever attack the Giliums. I wonder if she will only attack the enemies available in the early game with Noa. I also think she will heal Noa if she gets low but I have not confirmed that either.

Lol, who is the girl in your signature Zup?
Last edited by meth962 on Fri Jan 27, 2017 12:35 pm, edited 1 time in total.
まさかつあがつ

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Project Terra

Post by meth962 » Fri Jul 11, 2014 1:46 pm

So I'm sitting here waiting for my friends to be ready to go camping, and I figured out a couple things with Terra.

One, her agility is 200 not 100. She is not healing herself every round now, so I'm assuming there's a flag for that. I will have to get a save where Terra is in the party before and compare. So she will die and come back with 1 HP after battle. Unfortunately you cannot heal her directly or through multi target spells/items outside of battle.

Also it seems, in this save at least, that Terra's HP is set greater than the 400 max. Screenshot below.

Image

Also from this screenshot you can see she is Level 1 and is not leveling up since she surpassed the 121 exp requirement. I will toy around with that later though.

I bet once I compare her to her old self in an early game save, I can get her to start attacking and healing every round.

Buuuut then I decided I missed Gala, the big oaf. So I said you know what? I don't want to leave anyone out...I want to have FOUR party members. Yuna did it with seven guardians in FFX right? Why can't I?!

Image

As you can see, the game gets a little screwy, but I was able to add Gala as my fourth party member. And you can see his stat box just off the screen on this shot too:

Image

Uuuunfortunately (you knew I was going to disappoint you), the game will not allow you to have four fighting party members in battle. I should have known it wouldn't work because I saw a lot of hardcoded "if less than 3" when reading battle code. So they hard limit everything to 3 party members :(
Last edited by meth962 on Fri Jan 27, 2017 12:31 pm, edited 1 time in total.
まさかつあがつ

User avatar
Nightshade
Level 60
Posts: 1797
Joined: Tue Jul 26, 2011 9:07 pm
Location: the the the the

Re: Project Terra

Post by Nightshade » Fri Jul 11, 2014 2:06 pm

So, how does the game decide if Terra decides to attack, heal, or sit there like a lump doing nothing?
Do not question yourself with the why or the how. I simply am, and that is all you need to know.

GoldenPower89
Level 57
Posts: 1638
Joined: Mon Sep 09, 2013 3:12 am
Location: Indiana

Re: Project Terra

Post by GoldenPower89 » Fri Jul 11, 2014 2:26 pm

I noticed Terra has an attribute. What is that? Maybe we should assign a name for it.
Image

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Project Terra

Post by meth962 » Mon Jul 14, 2014 9:11 am

Hellooo, I'm sun burnt and back from vacation!
Nightshade wrote:So, how does the game decide if Terra decides to attack, heal, or sit there like a lump doing nothing?
I haven't fully explored the AI in the game, but I did get my feet wet. Most of their decisions are RNG but certain things are checked first like life of the party or enemies, etc.

Terra's is pretty simple, I almost looked through it all but got bored :P

1. If party member 1 is low on HP (yellow or red), cast Heal. 5 mp
2. If party member 1 is affected by a status (venom, etc) cast Clear Status. 6 mp
3. Otherwise randomize a number.
3a. Do nothing
3b. Attack a random target.

Now I said party member 1 because I started a new game and put Terra in my party right away. She will heal/clearstatus Vahn just like Noa and attack enemies.

Also, I have to look again, but I saw the game hardcode a zero into Terra's next action after she does a certain action. Like if she attacks one round, she won't the next. But I didn't follow it all the way to see if that gets overwritten at all. If it does, I'm sure it would be for healing, etc.
GoldenPower89 wrote:I noticed Terra has an attribute. What is that? Maybe we should assign a name for it.
Actually, that's due to hacking. Terra was never designed to be seen in the party, so the game tries to go look up her attribute. So instead, what it gets is the table for attack damage or something, and the game tries to translate that data into letters. That's why it's all "iiiii" or random crap. But I agree, it would be cool to give it a name like her "invulnerability" status.
まさかつあがつ

Post Reply