Stage Module Constants

From OpenSA: Smash Engine Documentation Wiki
Jump to: navigation, search

All stages have floating points that control things, just like Article Floating Points and STDT (Stage Trap Data Table). You can find the Constants section in a stage module file (all modules have them) by opening the module in BrawlBox v0.71 and viewing section[4].


Pokemon Stadium 1

File Offset Default Description
2FAC 1 stage size ([1] and [2])
2FB0 0.45
2FB4 18
2FB8 15
2FBC 0.5
2FC0 4.5
2FC4 1.6
2FC8 200
2FCC 2400 How many frames you are on neutral form?
2FD0 3000 How many frames before info screen shows up
2FD4 1200 How many frames info screen is out for
2FD8 1800
2FDC 600
2FE0 500
2FE4 300 How many frames camera can be on you?
2FE8 -52
2FEC 6
2FF0 41.4
2FF4 10
2FF8 310 Something with camera zoom when it transforms
2FFC 0.01 Stage rising/falling speed
3000 9.99
3004 60
3008 0.6 Camera zoom on screen min?
300C 0.9 Camera zoom on screen max?
3010 50
3014 0
3018 0x78
301C 0x00780078
3020 0x00780078
3024 0x0078003C
3028 0x007800FF
302C 0x00FF00FF
3030 0x00FF00FF
3034 0x00FF0078
3038 0x00780078
303C 0x00780078
3040 176
3044 0
3048 4  ?? (read on camera)
304C 0.0015  ?? (read on camera)
3050 0.002 Camera speed
3054 0.08 Camera zoom in
3058 1.33  ?? (read on camera)
305C 1.57  ?? (read on camera)

Mushroomy Kingdom

File Offset Default Description
C8E0 0
C8E4 10
C8E8 4.25 Block collision size
C8EC 1
C8F0 0
C8F4 0
C8F8 0
C8FC 3600
C900 4700 Frames Before section 1 unload? (overworld)
C904 7200 Frames Before section 2 unload?(overworld)
C908 970
C90C 1560
C910 6090 Frames in background and "ashiba" animation (underground)
C914 4570
C918 .85
C91C 0
C920 0
C924 1
C928 0
C92C 0
C930 0
C934 0x10
C938 0
C93C 0
C940 1.45
C944 0x9999999A
C948 5 Frames blocks wiggle when hit but not broken
C94C -1
C950 6.283185
C954 0.75 Block wiggle intensity when not broken
C958 .5 Something to do with Block textures
C95C 1 Something to do with Block Textures
C960 .08333334
C964 32768
C968 .00390625
C96C 7.5 How far up the Item Block moves during hit animation
C970 10 Item verticle spawn position from item block
C974 7 Same as 0xC948?
C978 .3333333
C97C .6666667
C980 12 Frame after Item block activated to play animation
C984 4.25 Block 3d Model size
C988 0
C98C 10