Room Counter Bugfix

View previous topic View next topic Go down

20150326

Post 

Room Counter Bugfix




Code:
;This is a "bugfix". In case there are in-room staircases, the game sometimes does strange things to the room counter.
;It is possible, that you have in-room staircases and ledges in a room. When using the staircase, all is fine, but when
;falling down the ledge, the games adds 16 (0x10) to your room counter. This will lead to serious bugs when going
;through a door since in this case the wrong neighbour room is loaded.
;WRITTEN: by XaserLE
;THANKS TO: -MathOnNapkins' Zelda Doc's
; -wiiqwertyuiop for his Zelda Disassembly

header ; remove this if your rom has no header
lorom

ORG $01FF0F ; go to the code that causes the problem
BRA $05 ; insert a branch to hinder execution of this code

IPS: https://www.dropbox.com/s/tdtrne8kden2ycn/RoomCounterBugfix.ips?dl=0


Last edited by XaserLE on Fri 27 Mar 2015 - 4:26; edited 1 time in total

XaserLE
Elite ROM Hacker
Elite ROM Hacker

Since : 2013-01-22

Back to top Go down

Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

 
Permissions in this forum:
You cannot reply to topics in this forum