Users browsing this thread: 1 Guest(s)
Shadow's shadow Fix

03-18-2017, 03:27 PM, (This post was last modified: 03-19-2017, 12:50 PM by Madsiur.)
#1
Posts: 2,875
Threads: 193
Thanks Received: 358
Thanks Given: 81
Joined: Oct 2011
Reputation: 47
Status
Tissue-aware
Shadow's shadow Fix
Shadow's shadow Fix
version 1.0
released on 03/18/2017
Apply to FF3us, FF6A (JUE)
Download

[Image: shadow.png]

Quoting Novalia Spirit:

"As everybody knows, the first time you step foot into South Figaro, you normally see Shadow walk towards the Cafe. As expected, in the case you follow him into the building, he'll be there. It is once Vargas is killed that Shadow disappears from the Cafe.

Now here's the bug: ignore South Figaro till you beat Vargas. Retrace your steps to South Figaro, and you will, here again, see Shadow walk towards the Cafe. BUT, he won't be in it. And there's even worse: if you ignore the scene until you play Locke's scenario, Shadow'll be stuck behind the guard and the M-TekArmor sprites by the town's entrance. Note that going into a building will destroy your chances of seeing the bug occur, so you MUST beat the HeavyArmor as you make your way to Shadow."


To fix the bug, an additional check is made in South Figaro entrance event. If Vargas is beaten or you saw Shadow walk in town, Shadow NPC is not created and its movement queue not executed.

Edit: Another approach would be to set the "saw Shadow in South Figaro" bit ($00A) after beating Vargas. Probably this solution does less code reorganization but still take 7 bytes of free space with the command B2 and its return.

Code changes (SNES)
Code:
CA/EBA1: C0    If ($1E80($1B6) [$1EB6, bit 6] is set), branch to $CA5EB3 (simply returns)
CA/EBA7: C1    If ($1E80($00A) [$1E81, bit 2] is set or $1E80($010) [$1E82, bit 0] is set), branch to $CAEBC1
CA/ECAF: B2    Call subroutine $D1F9F8
CA/EBB3: 45    Refresh objects
CA/EBB4: 15    Begin action queue for character $15 (NPC $15), 11 bytes long
CA/EBB6: 8E        Move vehicle/entity down 4 tiles
CA/EBB7: 99        Move vehicle/entity right 7 tiles
CA/EBB8: A1        Move vehicle/entity right/down 1x1 tiles
CA/EBB9: A1        Move vehicle/entity right/down 1x1 tiles
CA/EBBA: 86        Move vehicle/entity down 2 tiles
CA/EBBB: 95        Move vehicle/entity right 6 tiles
CA/EBBC: 92        Move vehicle/entity down 5 tiles
CA/EBBD: 89        Move vehicle/entity right 3 tiles
CA/EBBE: 80        Move vehicle/entity up 1 tile
CA/EBBF: D1        Make vehicle/entity disappear
CA/EBC0: FF        End queue

D1/F9F8: D0    Set event bit $1E80($00A) [$1E81, bit 2]
D1/F9FA: 3D    Create object $15
D1/F9FC: 41    Show object $15
D1/F9FE: FE    Return

GBA code equivalent is at $7AEA53 and extra 7 bytes at $7FFBF2.


[Image: xM84KsQ.png]
Quote  

03-19-2017, 12:26 PM,
#2
Posts: 410
Threads: 34
Thanks Received: 6
Thanks Given: 4
Joined: Aug 2010
Reputation: 1
Status
Runic
RE: Shadow's shadow Fix
Now I always wondered what Shadow would say if you spoke to him whilst walking toward the café, my guess is probably nothing or "Stay away from me"
  Find
Quote  

03-19-2017, 12:46 PM,
#3
Posts: 2,875
Threads: 193
Thanks Received: 358
Thanks Given: 81
Joined: Oct 2011
Reputation: 47
Status
Tissue-aware
RE: Shadow's shadow Fix
(03-19-2017, 12:26 PM)CrumpledMedal Wrote: Now I always wondered what Shadow would say if you spoke to him whilst walking toward the café, my guess is probably nothing or "Stay away from me"

His NPC walking toward the cafe and the one inside are not the same I think, he probably have no event attached to his outside NPC hence probably nothing if you talk to him.


[Image: xM84KsQ.png]
Quote  

03-19-2017, 01:12 PM,
#4
Posts: 1,557
Threads: 55
Thanks Received: 34
Thanks Given: 92
Joined: Apr 2014
Reputation: 10
Status
Pain
RE: Shadow's shadow Fix
he says nothing(auto exit event)


THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)

Theme by Madsiur2017Custom Graphics by JamesWhite