Addresses

by circlefriendo

Game: Ref

Description: Addresses used by various other modules

; *** Configurable addresses:

; spawner

!sprite = $7f9d0a  ; sprite to spawn
!time = $7f9d0b    ; time between spawns


; palette

!bgpalette = $7f9f00 ; bg palette

; *** Functionable addresses

; LRStatus

!LRDisabled = $7f9da1  
; set nonzero to display that L/R are disabled

!LPower = $7f9da2 
; set nonzero to display a power on the L button

!RPower = $7f9da3 
; set nonzero to display a power on the R button



; *** All addresses:

; double_jump
!Freeram_JumpCountLeft	= $60


; boosprites
!saved_sprite_table = $7FB000

; wall_jumps
!flags			= $0DC3	
!no_back_timer		= $0DC4	 
!temp_y_spd		= $0DC5	 

; cape_fix
!FreeRAM = $140B

; flappy
!TTFJ = $18B4	;[T]ime [T]o [F]lutter [J]ump
!FJR = $18B7	;[F]lutter [J]ump [R]est
!FC = $18CD	;[F]lutter [C]arry

; alternate jumps
!FREE_RAM = $60

; no left
!lefts = $1696

; spread
!XPos = $7FB600
!YPos = $7FB602
!Tile = $7FB604
!Prop = $7FB605
!Timer2 = $7FB606

; wario
!DashRAM1 = $1DFD ; dash timer
!DashRAM2 = $1DFE ; dash cooldown timer

; spawner
!sprite_address = $7f9d0a
!time = $7f9d0b
!reserve = $7f9d0c
!timer = $7f9d1a

; r stars
!active = $7f9d05

; leap forward
!previous_jump = $7f9e02
!previous_facing = $7f9e03

; slippery
!previous_xspeed = $7f9e01


; freeyumps

!earlytimer = $7FB3B0
!spin = $7FB3B1		; backwards! $00 if spin
!latetimer = $7FB3B2
!emptyslot = $7FB3B3	; empty sprite slot to spawn p-switch into
!pswitchspawned = $7FB3B3 ; if there's a p-switch already spawned, don't spawn a new one.


; coinrun
!run_timer = $7FB010
!winded_timer = $7FB011


; spread
!XPos = $7FB600
!YPos = $7FB602
!Tile = $7FB604
!Prop = $7FB605
!Timer2 = $7FB606


; warp

!go = $7FB3C0
!levelHi = $7FB3C1
!levelLo = $7FB3C2

; palette

; $7f9efe - $7f9f0a

rtl
back to listings