• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Hide Character's GFX When Collision Bubbles Enabled

UnclePunch

Smash Ace
Joined
Nov 9, 2014
Messages
673
https://gfycat.com/jollyseriousfieldspaniel

Code:
$Hide Character's GFX When Collision Bubbles Enabled [UnclePunch]
C205FE30 00000008
2C040000 41820030
A1040000 2C080004
40820024 8104002C
890821FC 550807BD
41820014 3D808006
618C1D40 7D8903A6
4E800420 3B830000
60000000 00000000
Code:
#To be inserted at 8005fe30
.include "../Globals.s"

#Check if a GObj was sent as an arg
  cmpwi r4,0
  beq Original
#Check if this is a player GObj
  lhz r8,0x0(r4)
  cmpwi r8,0x4
  bne Original
#Get player's hitbox visibility flag
  lwz r8,0x2C(r4)
  lbz r8,0x21FC(r8)
  rlwinm. r8,r8,0,30,30
  beq Original
  branch  r12,0x80061d40

Original:
  addi    r28, r3, 0
 
Top Bottom