Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Lenophis

Pandora's Box / Re: Suggestions
« on: August 09, 2008, 09:20:42 PM »
Now with tons of comments, though I'm a little weary on Dispel...

Code: [Select]
C3/2C14: B91400  LDA $0014,Y    (status byte 1)
C3/2C17: 2980    AND #$80       (filter out all status except death)
C3/2C19: D025    BNE $2C40      (branch if dead)
C3/2C1B: 20132D  JSR $2D13
C3/2C1E: C92D    CMP #$2D       (is spell Cure?)
C3/2C20: F054    BEQ $2C76      (branch if so, check for terminal ailments)
C3/2C22: C92E    CMP #$2E       (is spell Cure 2?)
C3/2C24: F050    BEQ $2C76      (branch if so, check for terminal ailments)
C3/2C26: C92F    CMP #$2F       (is spell Cure 3?)
C3/2C28: F04C    BEQ $2C76      (branch if so, check for terminal ailments)
C3/2C2A: C932    CMP #$32       (is spell Antdot?)
C3/2C2C: F03F    BEQ $2C6D      (branch if so, check for poison)
C3/2C2E: C933    CMP #$33       (is spell Remedy?)
C3/2C30: F032    BEQ $2C64      (branch if so, check for blind, poison, and stone)
C3/2C32: C922    CMP #$22       (is spell Float?)
C3/2C34: F017    BEQ $2C4D      (branch if so, check for float)
C3/2C36: C923    CMP #$23       (is spell Imp?)
C3/2C38: F04A    BEQ $2C84      (branch if so)
C3/2C3A: C92C    CMP #$2C       (is spell Dispel?)
C3/2C3C: F018    BEQ $2C56      (branch if so, check for float and invis)
C3/2C3E: 8042    BRA $2C82      (otherwise flag spell as can't be used)
C3/2C40: 20132D  JSR $2D13
C3/2C43: C930    CMP #$30       (is spell Life?)
C3/2C45: F03D    BEQ $2C84      (branch if so)
C3/2C47: C931    CMP #$31       (is spell Life 2?)
C3/2C49: F039    BEQ $2C84      (branch if so)
C3/2C4B: 8035    BRA $2C82      (otherwise flag spell as can't be used)
C3/2C4D: B91500  LDA $0015,Y    (status byte 4)
C3/2C50: 2980    AND #$80       (filter out all status except float)
C3/2C52: D02E    BNE $2C82      (branch if floating, flag spell as can't be used)
C3/2C54: 802E    BRA $2C84
C3/2C56: B91400  LDA $0014,Y    (status byte 1)
C3/2C59: 297F    AND #$7F       (filter death, leave rest intact)
C3/2C5B: 191500  ORA $0015,Y    (status byte 4)
C3/2C5E: 2990    AND #$90       (mask all except float, invisible)
C3/2C60: F020    BEQ $2C82      (branch if none set, flag spell as can't be used)
C3/2C62: 8020    BRA $2C84
C3/2C64: B91400  LDA $0014,Y    (status byte 1)
C3/2C67: 2945    AND #$45       (character has blind, poison, or stone?)
C3/2C69: F017    BEQ $2C82      (branch if not, flag spell as can't be used)
C3/2C6B: 8017    BRA $2C84
C3/2C6D: B91400  LDA $0014,Y    (status byte 1)
C3/2C70: 2904    AND #$04       (character has poison?)
C3/2C72: F00E    BEQ $2C82      (branch if not, flag spell as can't be used)
C3/2C74: 800E    BRA $2C84
C3/2C76: B91400  LDA $0014,Y    (status byte 1)
C3/2C79: 29C2    AND #$C2       (filter out all status except zombie, stone, and death)
C3/2C7B: D005    BNE $2C82      (branch if any are set, flag spell as can't be used)
C3/2C7D: 209A2B  JSR $2B9A      (heal HP)
C3/2C80: 9002    BCC $2C84      (branch if below max HP)
C3/2C82: 18      CLC
C3/2C83: 60      RTS
C3/2C84: 38      SEC
C3/2C85: 60      RTS


Fixed a couple comments, added another.

Pandora's Box / Re: Suggestions
« on: August 09, 2008, 03:51:04 PM »
When you start a game of FF3/6 fresh w/o saves and you run through the intro.. interacting with any part of the intro will allow you to start the game with a time of 0:00 (some hacks seem to force this by requiring you to enter input)... within that short span, perhaps you get a special item or something for doing this (not sure how that could be accomplished).
So lemme see if I got this right. You want an item just for starting the game? Is Terra's pendant not enough?

The time already starts ticking from 0:00 the instant you hit "new game," so saying the intro shouldn't count is rather pointless. It's 1, maybe 2 minutes.

hmm.. something i forgot: outside battle, if you try to cast Remedy on somebody with no ailments, or Dispel on somebody with no positive/misc statuses, you'll be prevented.  so in the spirit of that, yeah, the makers probably would have wanted spell prevention in the cases Deathlike2 mentioned.
Though I haven't checked, the code at C3/2C14 seems to support that. It's widely uncommented, but I believe it's time to change that. :happy:

i think C2/4730 partially handles out-of-battle spellcasts and Item usage.  my guess is the other bank's code uses the "statuses to set" variables returned by C2/447F, and if they're null and no damage/healing is done either, it "prevents" the spellcast.    if they're non-null, the spell proceeds.  because immunities are factored out sometime later, even a spell that tries to set or remove only statuses you're immune to won't be thwarted.

i can't find *where* the hell outside battle castings account for immunities, even though they obviously do.
* Lenophis cracks his knuckles

Just one more thing in bank C3 to figure out.

Gaming Discussion / Re: chrono trigger ice sprite
« on: August 09, 2008, 12:02:51 AM »
Here, though it's not quite what you are looking for. Marle knows Ice, and is 102 tech points away from Ice 2. Hope it helps.

General Discussion & Support / Re: FF3USHT Bug Fixing?
« on: August 08, 2008, 06:54:27 PM »
6) A number of equipment (relics and armor) have the Imp property where it shouldn't. It hurts a number of armor (though helps those 0 defense relics).
You sound pretty sure that it's not something he intended... Can you say it absolute certainty?

Hell, I don't know what JCE plans, since he is 120% unpredictable. :tongue:

General Discussion / Re: Olympics officially begin in under 24 hours
« on: August 08, 2008, 12:41:41 PM »
As for preseason football, waay too early for me.  Baseball's not even done yet.  Particularly as a Cubs fan, I have zero interest in football now.  Kind of like how I had no interest in April baseball, seemingly right after the football playoffs had ended.  There needs to be a (bigger) gap.
They're good to watch on the days that you can't get any baseball games in, because...
1: Your team isn't playing, so no local coverage.
2: You can't watch any other games, because of retarded FCC rules which make absolutely no sense.

So yeah, football! :childish:

Pandora's Box / Re: Suggestions
« on: August 08, 2008, 12:36:35 PM »
how's that a bug?  if the person is stupid enough to cast the spell on an immune character, why shouldn't it cost MP and fail, just like it'd do in battle?  or are you saying outside battle checks should be more stringent than in-battle (e.g. you can't cast Cure on somebody with full HP)?
To follow up on this, it doesn't stop you in battle from trying to inflict/remove blocked status in battle, and I believe the same code is called between the menu and battles. I believe HP/MP stopping once you're at the max is only handled in the menu to prevent people like me from using a turbo button. :tongue: Definitely quirky, but probably not a bug.

General Discussion / Olympics officially begin in under 24 hours
« on: August 08, 2008, 01:36:58 AM »
The question is, do any of us care? Are there any compelling story lines to the games this year other than the smog and the pollution and the oppression? :hmm:

I, for one, will be watching the highlites on ESPN, since the division races seem to be more interesting at the moment. :blush: There's also preseason football! :tongue:

Gaming Discussion / Re: FF6 - Favorite Elemental Shield
« on: August 07, 2008, 01:02:04 AM »
Thunder Shield is not that handy with the Minerva (you only get Thunder absorb as the prime benefit).. and it primarily shares a pair of the Force Armor benefits.
Very true, but I believe the poll was about the three shields by themselves. If not, I was misled! :isuck:

Gaming Discussion / Re: FF6 - Favorite Elemental Shield
« on: August 07, 2008, 12:30:56 AM »
Thunder Shield has the best elemental protection of the three shields, and it's absurd how good it is. :omghax:

General Discussion / Re: Gamefaqs + eternal stupidity
« on: August 05, 2008, 12:41:02 PM »
Though I dislike double posting, I feel it is necessary at the moment. The gauntlet has been thrown down...

General Discussion / Re: No internet for a week or so.
« on: August 04, 2008, 12:42:35 AM »
Living in a hotel is normalcy? I think I'm missing something here...

Slick News / Re: Update at the trade deadline!
« on: August 01, 2008, 11:58:31 PM »
Satellite, and grandma would probably be senile by now without it, since the 5 channels have nothing on them (ABC, CBS, NBC, PBS, and FOX).

Slick News / Re: Update at the trade deadline!
« on: August 01, 2008, 09:02:45 PM »
Nope, that's only on cable and they don't offer cable to this part of the area.

Slick News / Re: Update at the trade deadline!
« on: August 01, 2008, 04:25:08 PM »
ah, that's right.  being in Chicagoland myself, i tend to forget that WGN is a "superstation" that gets beamed around the country.  now, will you see the WGN news and/or weather there, or do they replace those with some other programming?  9 pm central time is hour-long news, for instance; tell me what that has tonight if you can.
* Checks ye olde TV guide

Hmmm, Goldeneye starts at 7 PM central, one hour of AFV before that, Corner Gas and then an hour of Scrubs after that. We do normally get the WGN news at 9 though. :happy:

Slick News / Re: Update at the trade deadline!
« on: August 01, 2008, 01:22:39 PM »
I thought the Braves+TBS had a special contract..
They did, last year was the last year of that deal. Now they can broadcast any games they want.

I'm fully aware of their "Sunday afternoon game of the week", which is part of their agreement with MLB.. which includes the playoffs, and unfortunately the ALCS (I don't want to fucking watch the NL playoffs on my end, damn you MLB and FOX).
Be thankful your FOX reception is viewable, since we have a nice mountain blocking a good portion of the channels for us. Everything is very snowy and FOX is especially bad. Not ironically enough, the reception is many times better when it's a cloudy day.