Users browsing this thread: 1 Guest(s)
Final Requests for Help

#20
Posts: 377
Threads: 34
Thanks Received: 10
Thanks Given: 7
Joined: Dec 2018
Reputation: 18
Status
Moog
You asked in the shout-box about the Airborne Imp bug. This will not only concern Palidor, but also your Celes if she gets imped after she's queued a jump but before she's leapt into the air. That's how I discovered the bug, actually, with a dedicated jumper and with a jumping Imped enemy.

Code:
====================================
Airborne Imp fix
====================================
C2/02a0:
    4C FD FB            JMP FreespaceC2  ***Can be reolcated

C2/FBF2:   ***Tied to space that follows, could be FBFA if %%% branch back is changed
    4C DA 02            JMP ExitCommandBlock            ; If airborne, skip the command blocking check so the imp can come down.
    
C2/FBFD:  ***Freespace, but tied to space that precedes.  Change %%% branch back if squished together.
    C2 20                REP #$20
    BD 18 30            LDA $3018,X
    2C 2C 3F            BIT $3F2C                          ; Are they in the middle of a Jump?
    E2 20                SEP #$20
    D0 E9                BRA Back to C2/FBF2  %%%% To move the first JMP to FBFA, make this D0 F1
    BD E4 3E            LDA $3EE4,X
    4C A3 02            JMP $02A3                        ; Continue with Imp check for command blocking.
This isn't optimized because as I was experimenting with it I found I needed less code on the exit than I thought. As such, there will be a few empty bytes between the FBF2 part and the FBFD part. If you smash the two together you can save 8 bytes, but the backwards branch needs to be subsequently reduced by 8 bytes (to D0 F1).

Uses 21 bytes in C2. You can put it in another bank's freespace if you instead make a long jump (JML) from 02A0, but that command uses four bytes instead of three and thus doesn't fit in the existing space. You would have to recreate some of the surrounding code that you displace with the JML.

Imps will still be able to jump when forced (as in, they have a jump queued or Palidor intercedes), but they will come back down from those jumps instead of replacing the 'land' action with a fight command.
  Find
Quote  



Messages In This Thread
Final Requests for Help - by PowerPanda - 04-05-2021, 11:28 PM
RE: Final Requests for Help - by Subtraction - 04-05-2021, 11:44 PM
RE: Final Requests for Help - by seibaby - 04-06-2021, 07:24 AM
RE: Final Requests for Help - by PowerPanda - 04-06-2021, 09:36 PM
RE: Final Requests for Help - by madsiur - 04-06-2021, 09:56 PM
RE: Final Requests for Help - by Lightning - 04-06-2021, 10:55 AM
RE: Final Requests for Help - by madsiur - 04-06-2021, 08:35 PM
RE: Final Requests for Help - by PowerPanda - 04-06-2021, 10:28 PM
RE: Final Requests for Help - by C-Dude - 04-07-2021, 12:04 AM
RE: Final Requests for Help - by Drakkhen - 04-07-2021, 12:11 AM
RE: Final Requests for Help - by PowerPanda - 04-07-2021, 10:40 AM
RE: Final Requests for Help - by assassin - 04-07-2021, 10:17 AM
RE: Final Requests for Help - by Drakkhen - 04-07-2021, 11:03 AM
RE: Final Requests for Help - by assassin - 04-07-2021, 01:36 PM
RE: Final Requests for Help - by assassin - 04-07-2021, 09:15 PM
RE: Final Requests for Help - by PowerPanda - 04-07-2021, 06:02 PM
RE: Final Requests for Help - by assassin - 04-07-2021, 08:15 PM
RE: Final Requests for Help - by PowerPanda - 04-07-2021, 08:49 PM
RE: Final Requests for Help - by PowerPanda - 04-07-2021, 10:48 PM
RE: Final Requests for Help - by C-Dude - 04-08-2021, 01:49 PM
RE: Final Requests for Help - by PowerPanda - 04-08-2021, 04:51 PM
RE: Final Requests for Help - by C-Dude - 04-08-2021, 11:06 PM
RE: Final Requests for Help - by PowerPanda - 04-08-2021, 11:53 PM
RE: Final Requests for Help - by C-Dude - 04-16-2021, 10:32 PM
RE: Final Requests for Help - by PowerPanda - 04-11-2021, 02:17 PM
RE: Final Requests for Help - by Everything - 04-11-2021, 03:05 PM
RE: Final Requests for Help - by PowerPanda - 04-11-2021, 04:13 PM
RE: Final Requests for Help - by Everything - 04-11-2021, 06:15 PM
RE: Final Requests for Help - by Drakkhen - 04-11-2021, 06:23 PM
RE: Final Requests for Help - by Warrax - 04-12-2021, 03:17 AM
RE: Final Requests for Help - by PowerPanda - 04-11-2021, 08:21 PM
RE: Final Requests for Help - by PowerPanda - 04-18-2021, 01:42 PM
RE: Final Requests for Help - by madsiur - 04-18-2021, 07:34 PM
RE: Final Requests for Help - by PowerPanda - 05-06-2021, 05:27 PM
RE: Final Requests for Help - by SirNewtonFig - 05-06-2021, 08:49 PM
RE: Final Requests for Help - by Lightning - 05-07-2021, 11:19 AM
RE: Final Requests for Help - by SirNewtonFig - 05-07-2021, 01:55 PM
RE: Final Requests for Help - by Lightning - 05-07-2021, 02:51 PM
RE: Final Requests for Help - by SirNewtonFig - 05-09-2021, 08:13 PM
RE: Final Requests for Help - by PowerPanda - 05-07-2021, 06:00 PM
RE: Final Requests for Help - by Subtraction - 05-08-2021, 09:45 AM
RE: Final Requests for Help - by PowerPanda - 05-08-2021, 10:56 AM
RE: Final Requests for Help - by Lightning - 05-10-2021, 01:02 AM
RE: Final Requests for Help - by Subtraction - 05-11-2021, 08:08 AM
RE: Final Requests for Help - by PowerPanda - 05-11-2021, 10:02 AM
RE: Final Requests for Help - by PowerPanda - 05-09-2021, 10:46 PM
RE: Final Requests for Help - by MysticLord - 05-10-2021, 01:36 AM
RE: Final Requests for Help - by PowerPanda - 05-10-2021, 10:05 AM
RE: Final Requests for Help - by MysticLord - 05-10-2021, 05:54 PM
RE: Final Requests for Help - by PowerPanda - 05-10-2021, 09:30 PM
RE: Final Requests for Help - by Subtraction - 05-11-2021, 11:10 PM
RE: Final Requests for Help - by PowerPanda - 05-14-2021, 12:41 PM
RE: Final Requests for Help - by Subtraction - 05-14-2021, 11:59 PM
RE: Final Requests for Help - by Slowmo - 05-15-2021, 11:18 AM
RE: Final Requests for Help - by MysticLord - 05-15-2021, 11:36 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite