News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: **SOLVED** Chrono Trigger - Disabling Ayla's Weapon Check?  (Read 2455 times)

Josephine Lithius

  • Full Member
  • ***
  • Posts: 105
  • :)
    • View Profile
    • JosephineLithius @ Tumblr
**SOLVED** Chrono Trigger - Disabling Ayla's Weapon Check?
« on: September 09, 2014, 09:32:19 am »
Hello again.  I'm still working on a Chrono Trigger ROM hack... and I still need some help.  Rather than fix something I broke however, I need to break something that isn't broken.

At the beginning of any given battle, if Ayla is in your party, the game checks her current level and automatically assigns one of five weapons: Fist (25% crit), Fist (30% crit), Fist (35% crit), Iron Fist (May cause "Chaos"), or BronzeFist (9,999 damage on crits).  It doesn't matter what she has equipped in her weapon slot before combat.  If she has anything other than the weapon that's appropriate for her level equipped, the game automatically changes it over.

I want to disable that.

In my ROM hack, I want to change some of her fist weapons into equippable items, see... and if the game is automatically changing her weapon at the start of combat, I can't make that happen.  I don't know my way around the game to poke around at random hex values and try and "luck" my way to breaking this, but I figured maybe someone here has dabbled in the battle routine code enough to know how to "break" Ayla's auto-equip code.

Any help would be greatly appreciated.  Thanks!
« Last Edit: September 10, 2014, 03:16:08 am by Doc Lithius »
I'm not that hard to find... if you know where to look.
-=( http://josephinelithius.tumblr.com )=-

Mauron

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 531
    • View Profile
Re: [Help Request] Chrono Trigger - Disabling Ayla's Weapon Check?
« Reply #1 on: September 09, 2014, 12:07:44 pm »
Changing the following offsets seemed to work.
0x1FAC5 - 80 0F
0x1FADD - 80 0F
0x1FAF5 - 80 0F

These are for an unheadered ROM.
Mauron wuz here.

Josephine Lithius

  • Full Member
  • ***
  • Posts: 105
  • :)
    • View Profile
    • JosephineLithius @ Tumblr
Re: [Help Request] Chrono Trigger - Disabling Ayla's Weapon Check?
« Reply #2 on: September 10, 2014, 03:15:52 am »
Worked like a charm with the Charm Top on! (Ah, referential humor...)  Ayla keeps whatever happens to be in her weapon slot equipped now.  Even the Slasher 2 I was testing with stayed right where it belonged.

Thank you very much!
I'm not that hard to find... if you know where to look.
-=( http://josephinelithius.tumblr.com )=-

Mauron

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 531
    • View Profile
Re: **SOLVED** Chrono Trigger - Disabling Ayla's Weapon Check?
« Reply #3 on: September 10, 2014, 03:09:46 pm »
Glad to be of assistance.

For reference, I used the Chrono Trigger Database to find the checks for Ayla's weapon, and branched over the existing code.
Mauron wuz here.

Josephine Lithius

  • Full Member
  • ***
  • Posts: 105
  • :)
    • View Profile
    • JosephineLithius @ Tumblr
Re: **SOLVED** Chrono Trigger - Disabling Ayla's Weapon Check?
« Reply #4 on: September 11, 2014, 01:03:44 pm »
*facepalm*  And there it is, right in the Offsets documentation.  I should've checked those first.  Heh, well... live and learn, I guess!
I'm not that hard to find... if you know where to look.
-=( http://josephinelithius.tumblr.com )=-