mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
Fix one frame of ghost yellow eco in finalboss (#1536)
* Fix one frame of ghost yellow eco in finalboss * Fixed the eco duping in goggles Whoops tried to fix an issue that wasn't there and paid the price for it. * Add commented code Describing the change and noting that is it different than the original game. Could be useful in the future if anything odd happens to have our changes documented. * Wrap change in a when PC_PORT block * Move comment from inside block to outside Having the comment inside the block seemed cringe
This commit is contained in:
parent
fb3f9ffe35
commit
80e84f2225
|
@ -244,7 +244,17 @@
|
|||
(send-event (handle->process (-> self shot-attractor)) 'draw #f)
|
||||
)
|
||||
|
||||
|
||||
(defbehavior robotboss-yellow-eco-off robotboss ()
|
||||
;; These logclears are not present in the orignal game, this is to patch the one frame of ghost yellow eco bug that can
|
||||
;; occcur under certain conditions when robot-boss-yellow-eco-off is called.
|
||||
(#when PC_PORT
|
||||
(logclear! (-> self alts 7 extra perm status) (entity-perm-status bit-3))
|
||||
(logclear! (-> self alts 8 extra perm status) (entity-perm-status bit-3))
|
||||
(logclear! (-> self alts 9 extra perm status) (entity-perm-status bit-3))
|
||||
(logclear! (-> self alts 10 extra perm status) (entity-perm-status bit-3))
|
||||
)
|
||||
|
||||
(logior! (-> self alts 7 extra perm status) (entity-perm-status bit-9))
|
||||
(logior! (-> self alts 8 extra perm status) (entity-perm-status bit-9))
|
||||
(logior! (-> self alts 9 extra perm status) (entity-perm-status bit-9))
|
||||
|
|
Loading…
Reference in a new issue