Users browsing this thread: 1 Guest(s)
Sniper Sight

#1
Posts: 341
Threads: 12
Thanks Received: 0
Thanks Given: 2
Joined: Sep 2010
Reputation: 5
Status
None
Hey, I've completely forgotten how the Sniper Sight effect is coded into the game. There's no checkbox for on FF3usME, so I'm assuming it's hard-coded based on item ID?

Does anyone remember for sure?
Quote  

#2
Posts: 831
Threads: 41
Thanks Received: 16
Thanks Given: 12
Joined: Nov 2009
Reputation: 18
Status
None
There are six instances in which the Sniper Sight is used in the code in the C2 Bank: some of these instances are related to weapons, while others are related to commands like Jump.

C2/107E: 0C D7 11 TSB $11D7 (if Earring effect is set in current equipment slot, set it in Item Special 2: boost steal, single Earring, boost sketch, boost control, sniper sight, gold hairpin, economizer, vigor + 50%)

C2/1808: 20 9F 29 JSR $299F (Load weapon data into attack data.
Plus Sniper Sight, Offering and more)

C2/28E4: 6A ROR (Top half A [will be $3C45] = $11D7 =
boost steal, single Earring, boost sketch, boost control, sniper sight, gold hairpin, economizer, vigor + 50%)

(Load weapon data into attack data. Also handles Offering, Sniper Sight, etc)

C2/299F: 08 PHP
C2/29A0: BD 2C 3B LDA $3B2C,X
C2/29A3: 8D AE 11 STA $11AE (Vigor * 2 / Magic Power)
C2/29A6: 20 21 2C JSR $2C21
C2/29A9: BD 45 3C LDA $3C45,X
C2/29AC: 89 10 BIT #$10
C2/29AE: F0 05 BEQ $29B5 (If no Sniper Sight)
C2/29B0: A9 20 LDA #$20
C2/29B2: 0C A4 11 TSB $11A4 (Sets Can't be Dodged)

C2/319D: 20 9F 29 JSR $299F (Load weapon data into attack data.
Plus Sniper Sight, Offering and more)
Quote  

#3
Posts: 341
Threads: 12
Thanks Received: 0
Thanks Given: 2
Joined: Sep 2010
Reputation: 5
Status
None
Ugh, how weird. The default is to Set "Can't be Dodged", but there's a Branch if Equal for Sniper Sight NOT equipped? That makes so little sense... >.>;;
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite