summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2020-11-17 13:10:13 -0600
committerSeth Barberee <seth.barberee@gmail.com>2020-11-17 13:10:13 -0600
commit0f6b5a16495288fed01ddba683fd60e226b2fb30 (patch)
tree2100bde7dae003db0b82b2f71d7e036c1912c036
parent3b75b10bbbc99fbbba573142a3f027c3c0492593 (diff)
data dumping and doc'ing
-rw-r--r--asm/code_80A7714.s10
-rw-r--r--data/data_80F4278.s68
2 files changed, 51 insertions, 27 deletions
diff --git a/asm/code_80A7714.s b/asm/code_80A7714.s
index c1ddc37..ea1c722 100644
--- a/asm/code_80A7714.s
+++ b/asm/code_80A7714.s
@@ -13050,7 +13050,7 @@ _080ADA7E:
bx r0
.align 2, 0
_080ADA88: .4byte gUnknown_81187DC
-_080ADA8C: .4byte gUnknown_81187E8
+_080ADA8C: .4byte gGroundEventSelectText
thumb_func_end GroundEvent_Select
thumb_func_start GroundEvent_Cancel
@@ -13108,7 +13108,7 @@ _080ADADC:
pop {r0}
bx r0
.align 2, 0
-_080ADAF8: .4byte gUnknown_811880C
+_080ADAF8: .4byte gGroundEventCancelText
_080ADAFC: .4byte gUnknown_3001B90
thumb_func_end GroundEvent_Cancel
@@ -13198,7 +13198,7 @@ _080ADB68:
b _080ADBAA
.align 2, 0
_080ADBA0: .4byte gUnknown_3001B90
-_080ADBA4: .4byte gUnknown_8118828
+_080ADBA4: .4byte gGroundEventAddText
_080ADBA8:
movs r0, 0x20
_080ADBAA:
@@ -13294,7 +13294,7 @@ GroundEvent_Delete:
bx r0
.align 2, 0
_080ADC58: .4byte gUnknown_3001B90
-_080ADC5C: .4byte gUnknown_811886C
+_080ADC5C: .4byte gGroundEventDeleteText
_080ADC60: .4byte 0x0000ffff
thumb_func_end GroundEvent_Delete
@@ -13597,7 +13597,7 @@ _080ADDFA:
bl CloseFile
b _080ADEFC
.align 2, 0
-_080ADEB4: .4byte gUnknown_8118890
+_080ADEB4: .4byte gMapparamText
_080ADEB8: .4byte gUnknown_83B0000
_080ADEBC: .4byte gUnknown_811889C
_080ADEC0: .4byte gUnknown_8108EC0
diff --git a/data/data_80F4278.s b/data/data_80F4278.s
index e2333d9..d4ee195 100644
--- a/data/data_80F4278.s
+++ b/data/data_80F4278.s
@@ -8604,58 +8604,82 @@ gUnknown_811874C: @ 811874C
gUnknown_8118758: @ 8118758
.incbin "baserom.gba", 0x118758, 0x40
+@ Ground Events
.global gUnknown_8118798
gUnknown_8118798: @ 8118798
- .incbin "baserom.gba", 0x118798, 0x44
+ .byte 0x6C, 0x87, 0x11, 0x08
+ .byte 0x4D, 0x00, 0x00, 0x00
+ .byte 0x84, 0x87, 0x11, 0x08
+ .asciz "pksdir0"
+ .asciz "../ground/ground_event.c"
+ .align 2,0
+ .asciz "GroundEvent_Select"
+ .align 2,0
.global gUnknown_81187DC
gUnknown_81187DC: @ 81187DC
- .incbin "baserom.gba", 0x1187DC, 0xC
+ .byte 0xAC, 0x87, 0x11, 0x08
+ .byte 0xA0, 0x00, 0x00, 0x00
+ .byte 0xC8, 0x87, 0x11, 0x08 @ Pointer to GroundEvent_Select string above
- .global gUnknown_81187E8
-gUnknown_81187E8: @ 81187E8
- .incbin "baserom.gba", 0x1187E8, 0x24
+ .global gGroundEventSelectText
+gGroundEventSelectText: @ 81187E8
+ .asciz "GroundEvent Select %3d %3d %3d"
+ .align 2,0
- .global gUnknown_811880C
-gUnknown_811880C: @ 811880C
- .incbin "baserom.gba", 0x11880C, 0x1C
+ .global gGroundEventCancelText
+gGroundEventCancelText: @ 811880C
+ .asciz "GroundEvent Cancel %3d %3d"
+ .align 2,0
- .global gUnknown_8118828
-gUnknown_8118828: @ 8118828
- .incbin "baserom.gba", 0x118828, 0x44
+ .global gGroundEventAddText
+gGroundEventAddText: @ 8118828
+ .asciz "GroundEvent Add id %3d kind %3d group %3d sector %3d script %p"
+ .align 2,0
- .global gUnknown_811886C
-gUnknown_811886C: @ 811886C
- .incbin "baserom.gba", 0x11886C, 0x24
+ .global gGroundEventDeleteText
+gGroundEventDeleteText: @ 811886C
+ .asciz "GroundEvent Delete id %3d"
+ .align 2,0
+ .asciz "pksdir0"
+ .align 2,0
- .global gUnknown_8118890
-gUnknown_8118890: @ 8118890
+ .global gMapparamText
+gMapparamText: @ 8118890
.asciz "mapparam"
.align 2,0
.global gUnknown_811889C
gUnknown_811889C: @ 811889C
- .incbin "baserom.gba", 0x11889C, 0xC
+ .asciz "b%02dfon"
+ .align 2,0
.global gUnknown_81188A8
gUnknown_81188A8: @ 81188A8
- .incbin "baserom.gba", 0x1188A8, 0xC
+ .asciz "b%02dpal"
+ .align 2,0
.global gUnknown_81188B4
gUnknown_81188B4: @ 81188B4
- .incbin "baserom.gba", 0x1188B4, 0xC
+ .asciz "b%02dcel"
+ .align 2,0
.global gUnknown_81188C0
gUnknown_81188C0: @ 81188C0
- .incbin "baserom.gba", 0x1188C0, 0xC
+ .asciz "b%02dcex"
+ .align 2,0
.global gUnknown_81188CC
gUnknown_81188CC: @ 81188CC
- .incbin "baserom.gba", 0x1188CC, 0x10
+ .asciz "b%02demap%01d"
+ .align 2,0
.global gUnknown_81188DC
gUnknown_81188DC: @ 81188DC
- .incbin "baserom.gba", 0x1188DC, 0x14
+ .asciz "b%02dcanm"
+ .align 2,0
+ .asciz "pksdir0"
+ .align 2,0
.global gUnknown_81188F0
gUnknown_81188F0: @ 81188F0