summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-21 10:14:43 -0500
committerEvan <eroelke@gmail.com>2019-12-04 14:54:49 -0700
commitd83039f7c84ebd14e4e276fea806194317968d0a (patch)
tree3db980ac6c59c6cdc72533f93b222c9ba22cbd76
parent96f793f696ee96632df69a86943ecc884c1d70ad (diff)
Disassemble data/field_ground_effect
-rw-r--r--baserom.ipsbin249030 -> 248798 bytes
-rw-r--r--data/field_ground_effect.s51
2 files changed, 40 insertions, 11 deletions
diff --git a/baserom.ips b/baserom.ips
index 78355b3e8..dbfed775a 100644
--- a/baserom.ips
+++ b/baserom.ips
Binary files differ
diff --git a/data/field_ground_effect.s b/data/field_ground_effect.s
index b1f34c8d7..c871b2d4b 100644
--- a/data/field_ground_effect.s
+++ b/data/field_ground_effect.s
@@ -1,34 +1,63 @@
.section .rodata
.align 2
gUnknown_83A7024:: @ 83A7024
- .incbin "baserom.gba", 0x3A7024, 0x8
+ .4byte 0x00000020, 0x00000010
gUnknown_83A702C:: @ 83A702C
- .incbin "baserom.gba", 0x3A702C, 0x18
+ .4byte MetatileBehavior_IsTallGrass_2
+ .4byte MetatileBehavior_IsLongGrass
+ .4byte MetatileBehavior_IsPuddle
+ .4byte MetatileBehavior_IsSurfable
+ .4byte MetatileBehavior_IsWaterfallBottom
+ .4byte MetatileBehavior_UnusedReturnTrue
gUnknown_83A7044:: @ 83A7044
- .incbin "baserom.gba", 0x3A7044, 0x18
+ .4byte 0x00001000, 0x00002000, 0x00004000, 0x00008000, 0x00004000, 0x00010000
gUnknown_83A705C:: @ 83A705C
- .incbin "baserom.gba", 0x3A705C, 0x10
+ .4byte MetatileBehavior_IsJumpSouth
+ .4byte MetatileBehavior_IsJumpNorth
+ .4byte MetatileBehavior_IsJumpWest
+ .4byte MetatileBehavior_IsJumpEast
gUnknown_83A706C:: @ 83A706C
- .incbin "baserom.gba", 0x3A706C, 0x10
+ .byte 0x73, 0x73, 0x53, 0x73, 0x53, 0x73, 0x53, 0x73, 0x53, 0x73, 0x53, 0x73, 0x53, 0x00, 0x00, 0x73
gUnknown_83A707C:: @ 83A707C
- .incbin "baserom.gba", 0x3A707C, 0x10
+ .byte 0x02, 0x02, 0x02, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x00, 0x00, 0x02
gUnknown_83A708C:: @ 83A708C
- .incbin "baserom.gba", 0x3A708C, 0x10
+ .byte 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x01, 0x02, 0x00, 0x00, 0x01
gUnknown_83A709C:: @ 83A709C
- .incbin "baserom.gba", 0x3A709C, 0xC
+ .4byte nullsub_26
+ .4byte DoTracksGroundEffect_Footprints
+ .4byte DoTracksGroundEffect_BikeTireTracks
gUnknown_83A70A8:: @ 83A70A8
- .incbin "baserom.gba", 0x3A70A8, 0x4
+ .byte 0x0d, 0x00, 0x18, 0x00
gUnknown_83A70AC:: @ 83A70AC
- .incbin "baserom.gba", 0x3A70AC, 0x10
+ .byte 0x01, 0x02, 0x07, 0x08, 0x01, 0x02, 0x06, 0x05, 0x05, 0x08, 0x03, 0x04, 0x06, 0x07, 0x03, 0x04
gUnknown_83A70BC:: @ 83A70BC
- .incbin "baserom.gba", 0x3A70BC, 0x50
+ .4byte GroundEffect_SpawnOnTallGrass
+ .4byte GroundEffect_StepOnTallGrass
+ .4byte GroundEffect_SpawnOnLongGrass
+ .4byte GroundEffect_StepOnLongGrass
+ .4byte GroundEffect_WaterReflection
+ .4byte GroundEffect_IceReflection
+ .4byte GroundEffect_FlowingWater
+ .4byte GroundEffect_SandTracks
+ .4byte GroundEffect_DeepSandTracks
+ .4byte GroundEffect_Ripple
+ .4byte GroundEffect_StepOnPuddle
+ .4byte GroundEffect_SandHeap
+ .4byte GroundEffect_JumpOnTallGrass
+ .4byte GroundEffect_JumpOnLongGrass
+ .4byte GroundEffect_JumpOnShallowWater
+ .4byte GroundEffect_JumpOnWater
+ .4byte GroundEffect_JumpLandingDust
+ .4byte GroundEffect_ShortGrass
+ .4byte GroundEffect_HotSprings
+ .4byte GroundEffect_Seaweed