News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] Draygon's Turrets

Started by Jiffy, December 20, 2014, 02:15:05 PM

Previous topic - Next topic

Jiffy

Okay. I've got 2 questions.

1. While making Draygon's room, I've moved the 2 leftmost Turrets up 4 tiles, but the Shots they spawn remain in the old position. Anybody know how to change that?
2. How do I make Draygon's turrets (when grappled) deal massive damage to Samus?  :twisted:

Thanks. :)
e; Damnit. Wrong section. Could somebody move it before anybody sees?

DonnyDonovan

Note to self -- Do not grapple the turrets while fighting Draygon in Jefe962's hack.

Jiffy

Quote from: DonnyDonovan on December 20, 2014, 03:44:30 PM
Note to self -- Do not grapple the turrets while fighting Draygon in Jefe962's hack.

Now that you say it, I'm going to make the Turrets heal Samus now.  :^_^:

Quietus

Or start healing Samus for a second or two, to lull players into thinking that, then start hurting them at double the rate.  Keep 'em guessing. :^_^:

Jordan5

Or heal them to almost full health, then insta-kill them if you really want to be mean :heheh:

Jiffy

Sooo, doesn't anybody know anything about the turrets?

Metaquarius

1- Turret fire is handled by Draygon's AI, and it reads x,y coordinates from $A5/87DC basically

$A5/87AA AD B6 05    LDA $05B6
$A5/87AD 29 3F 00    AND #$003F
$A5/87B0 D0 29       BNE $29    [$87DB]

$A5/87B2 22 11 81 80 JSL $808111
$A5/87B6 29 03 00    AND #$0003
$A5/87B9 18          CLC
$A5/87BA 69 02 00    ADC #$0002
$A5/87BD 0A          ASL A
$A5/87BE AA          TAX ; pick a random turret
$A5/87BF 0A          ASL A
$A5/87C0 A8          TAY
$A5/87C1 BF 00 88 7E LDA $7E8800,x
$A5/87C5 D0 14       BNE $14    [$87DB] ; exit if destroyed

$A5/87C7 B9 DC 87    LDA $87DC,y
$A5/87CA 85 12       STA $12
$A5/87CC B9 DE 87    LDA $87DE,y
$A5/87CF 85 14       STA $14
$A5/87D1 A0 5E 8E    LDY #$8E5E
$A5/87D4 A9 03 00    LDA #$0003
$A5/87D7 22 27 80 86 JSL $868027 ; spawns projectile

$A5/87DB 60          RTS


2 - Hex tweak I used in Z-Factor :

org $84CFE3
DW $000F ; DW $0001 ; Damage to Samus when grappled to broken turret

JAM

3 -- change damage to Draygon by Grapple Beam short circuit. Just imagine player's reaction: "What? I'm grappling for over 1 minute. Now I'm have only 1 Energy Tank, and the boss is still alive! This short circuit is killing me!!!"

Count this as a new year's present. Sorry dudes, nothing more. It was a hard year.

1295DB:
00 01 to ?? ??
Draygon's damage per frame from short circuit. Default value is $0100 (obviously).