diff --git a/asm/ground_map_1.s b/asm/ground_map_1.s index 35246e030..8af46272c 100644 --- a/asm/ground_map_1.s +++ b/asm/ground_map_1.s @@ -76,7 +76,7 @@ _080A4E4C: ldr r0, [r0] mov pc, r0 .align 2, 0 -_080A4E6C: .4byte gGroundConversion_811BAF4 +_080A4E6C: .4byte gGroundMapConversionTable _080A4E70: .4byte _080A4E74 .align 2, 0 _080A4E74: @@ -441,7 +441,7 @@ _080A5160: adds r2, r5, 0 bl FatalError .align 2, 0 -_080A5180: .4byte gGroundConversion_811BAF4 +_080A5180: .4byte gGroundMapConversionTable _080A5184: .4byte gUnknown_8117734 _080A5188: .4byte gUnknown_8117740 _080A518C: @@ -1278,7 +1278,7 @@ sub_80A5738: bx lr .align 2, 0 _080A5750: .4byte gGroundMapAction -_080A5754: .4byte gGroundConversion_811BAF4 +_080A5754: .4byte gGroundMapConversionTable thumb_func_end sub_80A5738 thumb_func_start sub_80A5758 @@ -1407,7 +1407,7 @@ _080A5832: .align 2, 0 _080A5838: .4byte gGroundMapDungeon_3001B70 _080A583C: .4byte gGroundMapAction -_080A5840: .4byte gGroundConversion_811BAF4 +_080A5840: .4byte gGroundMapConversionTable _080A5844: .4byte 0xffff8800 _080A5848: .4byte 0xffffb000 _080A584C: .4byte 0xffff7000 diff --git a/data/data_8115F5C_3.s b/data/data_8115F5C_3.s index f1e2d0670..30e1bf001 100644 --- a/data/data_8115F5C_3.s +++ b/data/data_8115F5C_3.s @@ -4656,2253 +4656,4 @@ gUnknown_811BADC: @ 811BADC .global gUnknown_811BAE4 gUnknown_811BAE4: @ 811BAE4 -.byte 0x54, 0x30, 0x30, 0x50, 0x30, 0x31, 0x00, 0x00, 0x70, 0x6b, 0x73, 0x64 -.byte 0x69, 0x72, 0x30, 0x00 - -.global gGroundConversion_811BAF4 -gGroundConversion_811BAF4: @ 811BAF4 -@ replacing .incbin "baserom.gba", 0x0011baf4, 0x2764 -.byte 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00 -.4byte gUnknown_811E230 -.byte 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x09, 0x00 -.4byte gUnknown_811E210 -.byte 0x01, 0x00, 0x03, 0x00, 0x02, 0x00, 0x09, 0x00 -.4byte gUnknown_811E1F0 -.byte 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x09, 0x00 -.4byte gUnknown_811E1D0 -.byte 0x05, 0x00, 0x04, 0x00, 0x04, 0x00, 0x09, 0x00 -.4byte gUnknown_811E1B0 -.byte 0x02, 0x00, 0x05, 0x00 -.byte 0x05, 0x00, 0xff, 0xff -.4byte gUnknown_811E190 -.byte 0x01, 0x00, 0x06, 0x00, 0x06, 0x00, 0x09, 0x00 -.4byte gUnknown_811E170 -.byte 0x02, 0x00, 0x07, 0x00, 0x07, 0x00, 0xff, 0xff -.4byte gUnknown_811E150 -.byte 0x02, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00 -.4byte gUnknown_811E130 -.byte 0x01, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x09, 0x00 -.4byte gUnknown_811E110 -.byte 0x01, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x09, 0x00 -.4byte gUnknown_811E0F0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x0c, 0x00, 0x09, 0x00 -.4byte gUnknown_811E0D0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x0d, 0x00, 0xff, 0xff -.4byte gUnknown_811E0B0 -.byte 0x02, 0x00, 0x0b, 0x00 -.byte 0x0e, 0x00, 0xff, 0xff -.4byte gUnknown_811E090 -.byte 0x02, 0x00, 0x0b, 0x00, 0x0f, 0x00, 0xff, 0xff -.4byte gUnknown_811E070 -.byte 0x01, 0x00, 0x0a, 0x00, 0x10, 0x00, 0x09, 0x00 -.4byte gUnknown_811E050 -.byte 0x01, 0x00, 0x0a, 0x00, 0x11, 0x00, 0x09, 0x00 -.4byte gUnknown_811E030 -.byte 0x01, 0x00, 0x0a, 0x00, 0x12, 0x00, 0x09, 0x00 -.4byte gUnknown_811E010 -.byte 0x02, 0x00, 0x0b, 0x00, 0x13, 0x00, 0xff, 0xff -.4byte gUnknown_811DFF0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x14, 0x00, 0xff, 0xff -.4byte gUnknown_811DFD0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x15, 0x00, 0xff, 0xff -.4byte gUnknown_811DFB0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x16, 0x00, 0x09, 0x00 -.4byte gUnknown_811DF90 -.byte 0x01, 0x00, 0x0a, 0x00, 0x17, 0x00, 0x09, 0x00 -.4byte gUnknown_811DF70 -.byte 0x01, 0x00, 0x0a, 0x00, 0x18, 0x00, 0x09, 0x00 -.4byte gUnknown_811DF50 -.byte 0x02, 0x00, 0x0b, 0x00, 0x19, 0x00, 0xff, 0xff -.4byte gUnknown_811DF30 -.byte 0x02, 0x00, 0x0b, 0x00, 0x1a, 0x00, 0xff, 0xff -.4byte gUnknown_811DF10 -.byte 0x02, 0x00, 0x0b, 0x00, 0x1b, 0x00, 0xff, 0xff -.4byte gUnknown_811DEF0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x1c, 0x00, 0x09, 0x00 -.4byte gUnknown_811DED0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x1d, 0x00, 0x09, 0x00 -.4byte gUnknown_811DEB0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x1e, 0x00, 0x09, 0x00 -.4byte gUnknown_811DE90 -.byte 0x02, 0x00, 0x0b, 0x00, 0x1f, 0x00, 0xff, 0xff -.4byte gUnknown_811DE70 -.byte 0x02, 0x00, 0x0b, 0x00, 0x20, 0x00, 0xff, 0xff -.4byte gUnknown_811DE50 -.byte 0x02, 0x00, 0x0b, 0x00, 0x21, 0x00, 0xff, 0xff -.4byte gUnknown_811DE30 -.byte 0x01, 0x00, 0x0a, 0x00, 0x22, 0x00, 0x09, 0x00 -.4byte gUnknown_811DE10 -.byte 0x01, 0x00, 0x0a, 0x00, 0x23, 0x00, 0x09, 0x00 -.4byte gUnknown_811DDF0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x24, 0x00, 0x09, 0x00 -.4byte gUnknown_811DDD0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x25, 0x00, 0xff, 0xff -.4byte gUnknown_811DDB0 -.byte 0x02, 0x00, 0x0b, 0x00 -.byte 0x26, 0x00, 0xff, 0xff -.4byte gUnknown_811DD90 -.byte 0x02, 0x00, 0x0b, 0x00, 0x27, 0x00, 0xff, 0xff -.4byte gUnknown_811DD70 -.byte 0x01, 0x00, 0x0a, 0x00, 0x28, 0x00, 0x09, 0x00 -.4byte gUnknown_811DD50 -.byte 0x01, 0x00, 0x0a, 0x00, 0x29, 0x00, 0x09, 0x00 -.4byte gUnknown_811DD30 -.byte 0x01, 0x00, 0x0a, 0x00, 0x2a, 0x00, 0x09, 0x00 -.4byte gUnknown_811DD10 -.byte 0x02, 0x00, 0x0b, 0x00, 0x2b, 0x00, 0xff, 0xff -.4byte gUnknown_811DCF0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x2c, 0x00, 0xff, 0xff -.4byte gUnknown_811DCD0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x2d, 0x00, 0xff, 0xff -.4byte gUnknown_811DCB0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x2e, 0x00, 0x09, 0x00 -.4byte gUnknown_811DC90 -.byte 0x01, 0x00, 0x0a, 0x00, 0x2f, 0x00, 0x09, 0x00 -.4byte gUnknown_811DC70 -.byte 0x01, 0x00, 0x0a, 0x00, 0x30, 0x00, 0x09, 0x00 -.4byte gUnknown_811DC50 -.byte 0x02, 0x00, 0x0b, 0x00, 0x31, 0x00, 0xff, 0xff -.4byte gUnknown_811DC30 -.byte 0x02, 0x00, 0x0b, 0x00, 0x32, 0x00, 0xff, 0xff -.4byte gUnknown_811DC10 -.byte 0x02, 0x00, 0x0b, 0x00, 0x33, 0x00, 0xff, 0xff -.4byte gUnknown_811DBF0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x34, 0x00, 0x09, 0x00 -.4byte gUnknown_811DBD0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x35, 0x00, 0x09, 0x00 -.4byte gUnknown_811DBB0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x36, 0x00, 0x09, 0x00 -.4byte gUnknown_811DB90 -.byte 0x02, 0x00, 0x0b, 0x00, 0x37, 0x00, 0xff, 0xff -.4byte gUnknown_811DB70 -.byte 0x02, 0x00, 0x0b, 0x00, 0x38, 0x00, 0xff, 0xff -.4byte gUnknown_811DB50 -.byte 0x02, 0x00, 0x0b, 0x00, 0x39, 0x00, 0xff, 0xff -.4byte gUnknown_811DB30 -.byte 0x01, 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x09, 0x00 -.4byte gUnknown_811DB10 -.byte 0x01, 0x00, 0x0a, 0x00, 0x3b, 0x00, 0x09, 0x00 -.4byte gUnknown_811DAF0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x3c, 0x00, 0x09, 0x00 -.4byte gUnknown_811DAD0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x3d, 0x00, 0xff, 0xff -.4byte gUnknown_811DAB0 -.byte 0x02, 0x00, 0x0b, 0x00 -.byte 0x3e, 0x00, 0xff, 0xff -.4byte gUnknown_811DA90 -.byte 0x02, 0x00, 0x0b, 0x00, 0x3f, 0x00, 0xff, 0xff -.4byte gUnknown_811DA70 -.byte 0x01, 0x00, 0x0a, 0x00, 0x40, 0x00, 0x09, 0x00 -.4byte gUnknown_811DA50 -.byte 0x01, 0x00, 0x0a, 0x00, 0x41, 0x00, 0x09, 0x00 -.4byte gUnknown_811DA30 -.byte 0x01, 0x00, 0x0a, 0x00, 0x42, 0x00, 0x09, 0x00 -.4byte gUnknown_811DA10 -.byte 0x02, 0x00, 0x0b, 0x00, 0x43, 0x00, 0xff, 0xff -.4byte gUnknown_811D9F0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x44, 0x00, 0xff, 0xff -.4byte gUnknown_811D9D0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x45, 0x00, 0xff, 0xff -.4byte gUnknown_811D9B0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x46, 0x00, 0x09, 0x00 -.4byte gUnknown_811D990 -.byte 0x01, 0x00, 0x0a, 0x00, 0x47, 0x00, 0x09, 0x00 -.4byte gUnknown_811D970 -.byte 0x01, 0x00, 0x0a, 0x00, 0x48, 0x00, 0x09, 0x00 -.4byte gUnknown_811D950 -.byte 0x02, 0x00, 0x0b, 0x00, 0x49, 0x00, 0xff, 0xff -.4byte gUnknown_811D930 -.byte 0x02, 0x00, 0x0b, 0x00, 0x4a, 0x00, 0xff, 0xff -.4byte gUnknown_811D910 -.byte 0x02, 0x00, 0x0b, 0x00, 0x4b, 0x00, 0xff, 0xff -.4byte gUnknown_811D8F0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x4c, 0x00, 0x09, 0x00 -.4byte gUnknown_811D8D0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x4d, 0x00, 0x09, 0x00 -.4byte gUnknown_811D8B0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x4e, 0x00, 0x09, 0x00 -.4byte gUnknown_811D890 -.byte 0x02, 0x00, 0x0b, 0x00, 0x4f, 0x00, 0xff, 0xff -.4byte gUnknown_811D870 -.byte 0x02, 0x00, 0x0b, 0x00, 0x50, 0x00, 0xff, 0xff -.4byte gUnknown_811D850 -.byte 0x02, 0x00, 0x0b, 0x00, 0x51, 0x00, 0xff, 0xff -.4byte gUnknown_811D830 -.byte 0x01, 0x00, 0x0a, 0x00, 0x52, 0x00, 0x09, 0x00 -.4byte gUnknown_811D810 -.byte 0x01, 0x00, 0x0a, 0x00, 0x53, 0x00, 0x09, 0x00 -.4byte gUnknown_811D7F0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x54, 0x00, 0x09, 0x00 -.4byte gUnknown_811D7D0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x55, 0x00, 0xff, 0xff -.4byte gUnknown_811D7B0 -.byte 0x02, 0x00, 0x0b, 0x00 -.byte 0x56, 0x00, 0xff, 0xff -.4byte gUnknown_811D790 -.byte 0x02, 0x00, 0x0b, 0x00, 0x57, 0x00, 0xff, 0xff -.4byte gUnknown_811D770 -.byte 0x01, 0x00, 0x0a, 0x00, 0x58, 0x00, 0x09, 0x00 -.4byte gUnknown_811D750 -.byte 0x01, 0x00, 0x0a, 0x00, 0x59, 0x00, 0x09, 0x00 -.4byte gUnknown_811D730 -.byte 0x01, 0x00, 0x0a, 0x00, 0x5a, 0x00, 0x09, 0x00 -.4byte gUnknown_811D710 -.byte 0x02, 0x00, 0x0b, 0x00, 0x5b, 0x00, 0xff, 0xff -.4byte gUnknown_811D6F0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x5c, 0x00, 0xff, 0xff -.4byte gUnknown_811D6D0 -.byte 0x02, 0x00, 0x0b, 0x00, 0x5d, 0x00, 0xff, 0xff -.4byte gUnknown_811D6B0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x5e, 0x00, 0x09, 0x00 -.4byte gUnknown_811D690 -.byte 0x01, 0x00, 0x0a, 0x00, 0x5f, 0x00, 0x09, 0x00 -.4byte gUnknown_811D670 -.byte 0x01, 0x00, 0x0a, 0x00, 0x60, 0x00, 0x09, 0x00 -.4byte gUnknown_811D650 -.byte 0x02, 0x00, 0x0b, 0x00, 0x61, 0x00, 0xff, 0xff -.4byte gUnknown_811D630 -.byte 0x02, 0x00, 0x0b, 0x00, 0x62, 0x00, 0xff, 0xff -.4byte gUnknown_811D610 -.byte 0x02, 0x00, 0x0b, 0x00, 0x63, 0x00, 0xff, 0xff -.4byte gUnknown_811D5F0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x64, 0x00, 0x09, 0x00 -.4byte gUnknown_811D5D0 -.byte 0x01, 0x00, 0x0a, 0x00, 0x65, 0x00, 0x09, 0x00 -.4byte gUnknown_811D5B0 -.byte 0x01, 0x00, 0x0a, 0x00 -.byte 0x66, 0x00, 0x09, 0x00 -.4byte gUnknown_811D590 -.byte 0x02, 0x00, 0x0b, 0x00, 0x67, 0x00, 0xff, 0xff -.4byte gUnknown_811D570 -.byte 0x02, 0x00, 0x0b, 0x00, 0x68, 0x00, 0xff, 0xff -.4byte gUnknown_811D550 -.byte 0x02, 0x00, 0x0b, 0x00, 0x69, 0x00, 0xff, 0xff -.4byte gUnknown_811D530 -.byte 0x01, 0x00, 0x09, 0x00, 0x6a, 0x00, 0x01, 0x00 -.4byte gUnknown_811D510 -.byte 0x01, 0x00, 0x09, 0x00, 0x6c, 0x00, 0x0e, 0x00 -.4byte gUnknown_811D4F0 -.byte 0x01, 0x00, 0x09, 0x00, 0x6d, 0x00, 0xff, 0xff -.4byte gUnknown_811D4D0 -.byte 0x01, 0x00, 0x09, 0x00, 0x6e, 0x00, 0x02, 0x00 -.4byte gUnknown_811D4B0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x70, 0x00, 0x03, 0x00 -.4byte gUnknown_811D490 -.byte 0x01, 0x00, 0x09, 0x00, 0x72, 0x00, 0x04, 0x00 -.4byte gUnknown_811D470 -.byte 0x01, 0x00, 0x09, 0x00, 0x74, 0x00, 0xff, 0xff -.4byte gUnknown_811D450 -.byte 0x01, 0x00, 0x09, 0x00, 0x75, 0x00, 0xff, 0xff -.4byte gUnknown_811D430 -.byte 0x01, 0x00, 0x09, 0x00, 0x76, 0x00, 0xff, 0xff -.4byte gUnknown_811D410 -.byte 0x01, 0x00, 0x09, 0x00, 0x77, 0x00, 0xff, 0xff -.4byte gUnknown_811D3F0 -.byte 0x01, 0x00, 0x09, 0x00, 0x78, 0x00, 0xff, 0xff -.4byte gUnknown_811D3D0 -.byte 0x01, 0x00, 0x09, 0x00, 0x79, 0x00, 0xff, 0xff -.4byte gUnknown_811D3B0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x7a, 0x00, 0xff, 0xff -.4byte gUnknown_811D390 -.byte 0x01, 0x00, 0x09, 0x00, 0x7b, 0x00, 0xff, 0xff -.4byte gUnknown_811D370 -.byte 0x01, 0x00, 0x09, 0x00, 0x7c, 0x00, 0xff, 0xff -.4byte gUnknown_811D350 -.byte 0x01, 0x00, 0x09, 0x00, 0x7d, 0x00, 0x0d, 0x00 -.4byte gUnknown_811D330 -.byte 0x01, 0x00, 0x09, 0x00, 0x7e, 0x00, 0xff, 0xff -.4byte gUnknown_811D310 -.byte 0x01, 0x00, 0x09, 0x00, 0x7f, 0x00, 0xff, 0xff -.4byte gUnknown_811D2F0 -.byte 0x01, 0x00, 0x09, 0x00, 0x80, 0x00, 0xff, 0xff -.4byte gUnknown_811D2D0 -.byte 0x01, 0x00, 0x09, 0x00, 0x81, 0x00, 0xff, 0xff -.4byte gUnknown_811D2B0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x82, 0x00, 0x05, 0x00 -.4byte gUnknown_811D290 -.byte 0x01, 0x00, 0x09, 0x00, 0x84, 0x00, 0xff, 0xff -.4byte gUnknown_811D270 -.byte 0x01, 0x00, 0x09, 0x00, 0x85, 0x00, 0xff, 0xff -.4byte gUnknown_811D250 -.byte 0x01, 0x00, 0x09, 0x00, 0x86, 0x00, 0xff, 0xff -.4byte gUnknown_811D230 -.byte 0x01, 0x00, 0x09, 0x00, 0x87, 0x00, 0xff, 0xff -.4byte gUnknown_811D210 -.byte 0x01, 0x00, 0x09, 0x00, 0x88, 0x00, 0xff, 0xff -.4byte gUnknown_811D1F0 -.byte 0x01, 0x00, 0x09, 0x00, 0x89, 0x00, 0xff, 0xff -.4byte gUnknown_811D1D0 -.byte 0x01, 0x00, 0x09, 0x00, 0x8a, 0x00, 0xff, 0xff -.4byte gUnknown_811D1B0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x8b, 0x00, 0xff, 0xff -.4byte gUnknown_811D190 -.byte 0x01, 0x00, 0x09, 0x00, 0x8c, 0x00, 0xff, 0xff -.4byte gUnknown_811D170 -.byte 0x01, 0x00, 0x09, 0x00, 0x8d, 0x00, 0xff, 0xff -.4byte gUnknown_811D150 -.byte 0x01, 0x00, 0x09, 0x00, 0x8e, 0x00, 0xff, 0xff -.4byte gUnknown_811D130 -.byte 0x01, 0x00, 0x09, 0x00, 0x8f, 0x00, 0xff, 0xff -.4byte gUnknown_811D110 -.byte 0x01, 0x00, 0x09, 0x00, 0x90, 0x00, 0xff, 0xff -.4byte gUnknown_811D0F0 -.byte 0x01, 0x00, 0x09, 0x00, 0x91, 0x00, 0xff, 0xff -.4byte gUnknown_811D0D0 -.byte 0x01, 0x00, 0x09, 0x00, 0x92, 0x00, 0xff, 0xff -.4byte gUnknown_811D0B0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x93, 0x00, 0xff, 0xff -.4byte gUnknown_811D090 -.byte 0x01, 0x00, 0x09, 0x00, 0x94, 0x00, 0xff, 0xff -.4byte gUnknown_811D070 -.byte 0x01, 0x00, 0x09, 0x00, 0x95, 0x00, 0xff, 0xff -.4byte gUnknown_811D050 -.byte 0x01, 0x00, 0x09, 0x00, 0x96, 0x00, 0x06, 0x00 -.4byte gUnknown_811D030 -.byte 0x01, 0x00, 0x09, 0x00, 0x98, 0x00, 0xff, 0xff -.4byte gUnknown_811D010 -.byte 0x01, 0x00, 0x09, 0x00, 0x99, 0x00, 0x07, 0x00 -.4byte gUnknown_811CFF0 -.byte 0x01, 0x00, 0x09, 0x00, 0x9b, 0x00, 0x0e, 0x00 -.4byte gUnknown_811CFD0 -.byte 0x01, 0x00, 0x09, 0x00, 0x9c, 0x00, 0xff, 0xff -.4byte gUnknown_811CFB0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0x9d, 0x00, 0xff, 0xff -.4byte gUnknown_811CF90 -.byte 0x01, 0x00, 0x09, 0x00, 0x9e, 0x00, 0xff, 0xff -.4byte gUnknown_811CF70 -.byte 0x01, 0x00, 0x09, 0x00, 0x9f, 0x00, 0xff, 0xff -.4byte gUnknown_811CF50 -.byte 0x01, 0x00, 0x09, 0x00, 0xa0, 0x00, 0x0a, 0x00 -.4byte gUnknown_811CF30 -.byte 0x01, 0x00, 0x09, 0x00, 0xa1, 0x00, 0x0c, 0x00 -.4byte gUnknown_811CF10 -.byte 0x01, 0x00, 0x09, 0x00, 0xa2, 0x00, 0x0d, 0x00 -.4byte gUnknown_811CEF0 -.byte 0x01, 0x00, 0x09, 0x00, 0xa3, 0x00, 0x0e, 0x00 -.4byte gUnknown_811CED0 -.byte 0x01, 0x00, 0x09, 0x00, 0xa4, 0x00, 0xff, 0xff -.4byte gUnknown_811CEB0 -.byte 0x01, 0x00, 0x09, 0x00 -.byte 0xa5, 0x00, 0xff, 0xff -.4byte gUnknown_811CE90 -.byte 0x01, 0x00, 0x09, 0x00, 0xa6, 0x00, 0xff, 0xff -.4byte gUnknown_811CE70 -.byte 0x01, 0x00, 0x09, 0x00, 0xa7, 0x00, 0xff, 0xff -.4byte gUnknown_811CE50 -.byte 0x01, 0x00, 0x09, 0x00, 0xa8, 0x00, 0x08, 0x00 -.4byte gUnknown_811CE30 -.byte 0x05, 0x00, 0x09, 0x00, 0xaa, 0x00, 0xff, 0xff -.4byte gUnknown_811CE10 -.byte 0x09, 0x00, 0x23, 0x00, 0xab, 0x00, 0xff, 0xff -.4byte gUnknown_811CDF0 -.byte 0x09, 0x00, 0x23, 0x00, 0xac, 0x00, 0xff, 0xff -.4byte gUnknown_811CDD0 -.byte 0x01, 0x00, 0x23, 0x00, 0xad, 0x00, 0xff, 0xff -.4byte gUnknown_811CDB0 -.byte 0x01, 0x00, 0x23, 0x00 -.byte 0xae, 0x00, 0x0d, 0x00 -.4byte gUnknown_811CD90 -.byte 0x01, 0x00, 0x23, 0x00, 0xaf, 0x00, 0xff, 0xff -.4byte gUnknown_811CD70 -.byte 0x01, 0x00, 0x23, 0x00, 0xb0, 0x00, 0xff, 0xff -.4byte gUnknown_811CD50 -.byte 0x01, 0x00, 0x23, 0x00, 0xb1, 0x00, 0x0a, 0x00 -.4byte gUnknown_811CD30 -.byte 0x01, 0x00, 0x23, 0x00, 0xb2, 0x00, 0x0a, 0x00 -.4byte gUnknown_811CD10 -.byte 0x01, 0x00, 0x23, 0x00, 0xb3, 0x00, 0x0c, 0x00 -.4byte gUnknown_811CCF0 -.byte 0x01, 0x00, 0x15, 0x00, 0xb4, 0x00, 0xff, 0xff -.4byte gUnknown_811CCD0 -.byte 0x01, 0x00, 0x23, 0x00, 0xb5, 0x00, 0xff, 0xff -.4byte gUnknown_811CCB0 -.byte 0x09, 0x00, 0x23, 0x00 -.byte 0xb6, 0x00, 0xff, 0xff -.4byte gUnknown_811CC90 -.byte 0x06, 0x00, 0x23, 0x00, 0xb7, 0x00, 0xff, 0xff -.4byte gUnknown_811CC70 -.byte 0x09, 0x00, 0x23, 0x00, 0xb8, 0x00, 0xff, 0xff -.4byte gUnknown_811CC50 -.byte 0x04, 0x00, 0x23, 0x00, 0xb9, 0x00, 0xff, 0xff -.4byte gUnknown_811CC30 -.byte 0x04, 0x00, 0x23, 0x00, 0xba, 0x00, 0xff, 0xff -.4byte gUnknown_811CC10 -.byte 0x01, 0x00, 0x0d, 0x00, 0xbb, 0x00, 0xff, 0xff -.4byte gUnknown_811CBF0 -.byte 0x0a, 0x00, 0x0d, 0x00, 0xbc, 0x00, 0xff, 0xff -.4byte gUnknown_811CBD0 -.byte 0x01, 0x00, 0x0e, 0x00, 0xbd, 0x00, 0xff, 0xff -.4byte gUnknown_811CBB0 -.byte 0x0a, 0x00, 0x0c, 0x00 -.byte 0xbe, 0x00, 0xff, 0xff -.4byte gUnknown_811CB90 -.byte 0x01, 0x00, 0x0f, 0x00, 0xbf, 0x00, 0xff, 0xff -.4byte gUnknown_811CB70 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xc0, 0x00, 0xff, 0xff -.4byte gUnknown_811CB50 -.byte 0x01, 0x00, 0x10, 0x00, 0xc1, 0x00, 0xff, 0xff -.4byte gUnknown_811CB30 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xc2, 0x00, 0xff, 0xff -.4byte gUnknown_811CB10 -.byte 0x06, 0x00, 0x11, 0x00, 0xc3, 0x00, 0xff, 0xff -.4byte gUnknown_811CAF0 -.byte 0x0a, 0x00, 0x0c, 0x00, 0xc4, 0x00, 0xff, 0xff -.4byte gUnknown_811CAD0 -.byte 0x01, 0x00, 0x12, 0x00, 0xc5, 0x00, 0xff, 0xff -.4byte gUnknown_811CAB0 -.byte 0x0a, 0x00, 0x13, 0x00 -.byte 0xc6, 0x00, 0xff, 0xff -.4byte gUnknown_811CA90 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xc7, 0x00, 0xff, 0xff -.4byte gUnknown_811CA70 -.byte 0x01, 0x00, 0x14, 0x00, 0xc8, 0x00, 0xff, 0xff -.4byte gUnknown_811CA50 -.byte 0x03, 0x00, 0x15, 0x00, 0xc9, 0x00, 0xff, 0xff -.4byte gUnknown_811CA30 -.byte 0x01, 0x00, 0x16, 0x00, 0xca, 0x00, 0x09, 0x00 -.4byte gUnknown_811CA10 -.byte 0x03, 0x00, 0x17, 0x00, 0xcb, 0x00, 0x09, 0x00 -.4byte gUnknown_811C9F0 -.byte 0x01, 0x00, 0x18, 0x00, 0xcc, 0x00, 0x0d, 0x00 -.4byte gUnknown_811C9D0 -.byte 0x0a, 0x00, 0x19, 0x00, 0xcd, 0x00, 0xff, 0xff -.4byte gUnknown_811C9B0 -.byte 0x0b, 0x00, 0x0c, 0x00 -.byte 0xce, 0x00, 0xff, 0xff -.4byte gUnknown_811C990 -.byte 0x01, 0x00, 0x1a, 0x00, 0xcf, 0x00, 0x0a, 0x00 -.4byte gUnknown_811C970 -.byte 0x0a, 0x00, 0x1b, 0x00, 0xd0, 0x00, 0xff, 0xff -.4byte gUnknown_811C950 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xd1, 0x00, 0xff, 0xff -.4byte gUnknown_811C930 -.byte 0x01, 0x00, 0x1c, 0x00, 0xd2, 0x00, 0x0a, 0x00 -.4byte gUnknown_811C910 -.byte 0x0a, 0x00, 0x1d, 0x00, 0xd3, 0x00, 0xff, 0xff -.4byte gUnknown_811C8F0 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xd4, 0x00, 0xff, 0xff -.4byte gUnknown_811C8D0 -.byte 0x01, 0x00, 0x1e, 0x00, 0xd5, 0x00, 0xff, 0xff -.4byte gUnknown_811C8B0 -.byte 0x0a, 0x00, 0x1f, 0x00 -.byte 0xd6, 0x00, 0xff, 0xff -.4byte gUnknown_811C890 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xd7, 0x00, 0xff, 0xff -.4byte gUnknown_811C870 -.byte 0x01, 0x00, 0x20, 0x00, 0xd8, 0x00, 0xff, 0xff -.4byte gUnknown_811C850 -.byte 0x0a, 0x00, 0x21, 0x00, 0xd9, 0x00, 0xff, 0xff -.4byte gUnknown_811C830 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xda, 0x00, 0xff, 0xff -.4byte gUnknown_811C810 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xdb, 0x00, 0xff, 0xff -.4byte gUnknown_811C7F0 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xdc, 0x00, 0xff, 0xff -.4byte gUnknown_811C7D0 -.byte 0x0a, 0x00, 0x0c, 0x00, 0xdd, 0x00, 0xff, 0xff -.4byte gUnknown_811C7B0 -.byte 0x0a, 0x00, 0x0c, 0x00 -.byte 0xde, 0x00, 0xff, 0xff -.4byte gUnknown_811C790 -.byte 0x0a, 0x00, 0x0c, 0x00, 0xdf, 0x00, 0xff, 0xff -.4byte gUnknown_811C770 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xe0, 0x00, 0xff, 0xff -.4byte gUnknown_811C750 -.byte 0x0a, 0x00, 0x22, 0x00, 0xe1, 0x00, 0xff, 0xff -.4byte gUnknown_811C730 -.byte 0x0b, 0x00, 0x0c, 0x00, 0xe2, 0x00, 0xff, 0xff -.4byte gUnknown_811C710 -.byte 0x03, 0x00, 0x0c, 0x00, 0xe3, 0x00, 0xff, 0xff -.4byte gUnknown_811C6F0 -.byte 0x0a, 0x00, 0x0c, 0x00, 0xe4, 0x00, 0xff, 0xff -.4byte gUnknown_811C6D0 -.byte 0x03, 0x00, 0x0c, 0x00, 0xe5, 0x00, 0xff, 0xff -.4byte gUnknown_811C6B0 -.byte 0x01, 0x00, 0x0c, 0x00 -.byte 0xe6, 0x00, 0xff, 0xff -.4byte gUnknown_811C690 -.byte 0x0a, 0x00, 0x0c, 0x00, 0xe7, 0x00, 0xff, 0xff -.4byte gUnknown_811C670 -.byte 0x09, 0x00, 0x25, 0x00, 0xe8, 0x00, 0xff, 0xff -.4byte gUnknown_811C650 -.byte 0x09, 0x00, 0x25, 0x00, 0xe9, 0x00, 0xff, 0xff -.4byte gUnknown_811C630 -.byte 0x04, 0x00, 0x25, 0x00, 0xea, 0x00, 0xff, 0xff -.4byte gUnknown_811C610 -.byte 0x04, 0x00, 0x25, 0x00, 0xeb, 0x00, 0xff, 0xff -.4byte gUnknown_811C5F0 -.byte 0x04, 0x00, 0x25, 0x00, 0xec, 0x00, 0xff, 0xff -.4byte gUnknown_811C5D0 -.byte 0x04, 0x00, 0x25, 0x00, 0xed, 0x00, 0xff, 0xff -.4byte gUnknown_811C5B0 - -.global gUnknown_811C5B0 -gUnknown_811C5B0: @ 811C5B0 -.string "__ground_amd_conversion_00240\0" -.align 2, 0 - -.global gUnknown_811C5D0 -gUnknown_811C5D0: @ 811C5D0 -.string "__ground_amd_conversion_00239\0" -.align 2, 0 - -.global gUnknown_811C5F0 -gUnknown_811C5F0: @ 811C5F0 -.string "__ground_amd_conversion_00237\0" -.align 2, 0 - -.global gUnknown_811C610 -gUnknown_811C610: @ 811C610 -.string "__ground_amd_conversion_00235\0" -.align 2, 0 - -.global gUnknown_811C630 -gUnknown_811C630: @ 811C630 -.string "__ground_amd_conversion_00233\0" -.align 2, 0 - -.global gUnknown_811C650 -gUnknown_811C650: @ 811C650 -.string "__ground_amd_conversion_00232\0" -.align 2, 0 - -.global gUnknown_811C670 -gUnknown_811C670: @ 811C670 -.string "__ground_amd_conversion_00231\0" -.align 2, 0 - -.global gUnknown_811C690 -gUnknown_811C690: @ 811C690 -.string "__ground_amd_conversion_00230\0" -.align 2, 0 - -.global gUnknown_811C6B0 -gUnknown_811C6B0: @ 811C6B0 -.string "__ground_amd_conversion_00229\0" -.align 2, 0 - -.global gUnknown_811C6D0 -gUnknown_811C6D0: @ 811C6D0 -.string "__ground_amd_conversion_00228\0" -.align 2, 0 - -.global gUnknown_811C6F0 -gUnknown_811C6F0: @ 811C6F0 -.string "__ground_amd_conversion_00227\0" -.align 2, 0 - -.global gUnknown_811C710 -gUnknown_811C710: @ 811C710 -.string "__ground_amd_conversion_00226\0" -.align 2, 0 - -.global gUnknown_811C730 -gUnknown_811C730: @ 811C730 -.string "__ground_amd_conversion_00225\0" -.align 2, 0 - -.global gUnknown_811C750 -gUnknown_811C750: @ 811C750 -.string "__ground_amd_conversion_00224\0" -.align 2, 0 - -.global gUnknown_811C770 -gUnknown_811C770: @ 811C770 -.string "__ground_amd_conversion_00223\0" -.align 2, 0 - -.global gUnknown_811C790 -gUnknown_811C790: @ 811C790 -.string "__ground_amd_conversion_00222\0" -.align 2, 0 - -.global gUnknown_811C7B0 -gUnknown_811C7B0: @ 811C7B0 -.string "__ground_amd_conversion_00221\0" -.align 2, 0 - -.global gUnknown_811C7D0 -gUnknown_811C7D0: @ 811C7D0 -.string "__ground_amd_conversion_00220\0" -.align 2, 0 - -.global gUnknown_811C7F0 -gUnknown_811C7F0: @ 811C7F0 -.string "__ground_amd_conversion_00219\0" -.align 2, 0 - -.global gUnknown_811C810 -gUnknown_811C810: @ 811C810 -.string "__ground_amd_conversion_00218\0" -.align 2, 0 - -.global gUnknown_811C830 -gUnknown_811C830: @ 811C830 -.string "__ground_amd_conversion_00217\0" -.align 2, 0 - -.global gUnknown_811C850 -gUnknown_811C850: @ 811C850 -.string "__ground_amd_conversion_00216\0" -.align 2, 0 - -.global gUnknown_811C870 -gUnknown_811C870: @ 811C870 -.string "__ground_amd_conversion_00215\0" -.align 2, 0 - -.global gUnknown_811C890 -gUnknown_811C890: @ 811C890 -.string "__ground_amd_conversion_00214\0" -.align 2, 0 - -.global gUnknown_811C8B0 -gUnknown_811C8B0: @ 811C8B0 -.string "__ground_amd_conversion_00213\0" -.align 2, 0 - -.global gUnknown_811C8D0 -gUnknown_811C8D0: @ 811C8D0 -.string "__ground_amd_conversion_00212\0" -.align 2, 0 - -.global gUnknown_811C8F0 -gUnknown_811C8F0: @ 811C8F0 -.string "__ground_amd_conversion_00211\0" -.align 2, 0 - -.global gUnknown_811C910 -gUnknown_811C910: @ 811C910 -.string "__ground_amd_conversion_00210\0" -.align 2, 0 - -.global gUnknown_811C930 -gUnknown_811C930: @ 811C930 -.string "__ground_amd_conversion_00209\0" -.align 2, 0 - -.global gUnknown_811C950 -gUnknown_811C950: @ 811C950 -.string "__ground_amd_conversion_00208\0" -.align 2, 0 - -.global gUnknown_811C970 -gUnknown_811C970: @ 811C970 -.string "__ground_amd_conversion_00207\0" -.align 2, 0 - -.global gUnknown_811C990 -gUnknown_811C990: @ 811C990 -.string "__ground_amd_conversion_00206\0" -.align 2, 0 - -.global gUnknown_811C9B0 -gUnknown_811C9B0: @ 811C9B0 -.string "__ground_amd_conversion_00205\0" -.align 2, 0 - -.global gUnknown_811C9D0 -gUnknown_811C9D0: @ 811C9D0 -.string "__ground_amd_conversion_00204\0" -.align 2, 0 - -.global gUnknown_811C9F0 -gUnknown_811C9F0: @ 811C9F0 -.string "__ground_amd_conversion_00203\0" -.align 2, 0 - -.global gUnknown_811CA10 -gUnknown_811CA10: @ 811CA10 -.string "__ground_amd_conversion_00202\0" -.align 2, 0 - -.global gUnknown_811CA30 -gUnknown_811CA30: @ 811CA30 -.string "__ground_amd_conversion_00201\0" -.align 2, 0 - -.global gUnknown_811CA50 -gUnknown_811CA50: @ 811CA50 -.string "__ground_amd_conversion_00200\0" -.align 2, 0 - -.global gUnknown_811CA70 -gUnknown_811CA70: @ 811CA70 -.string "__ground_amd_conversion_00199\0" -.align 2, 0 - -.global gUnknown_811CA90 -gUnknown_811CA90: @ 811CA90 -.string "__ground_amd_conversion_00198\0" -.align 2, 0 - -.global gUnknown_811CAB0 -gUnknown_811CAB0: @ 811CAB0 -.string "__ground_amd_conversion_00197\0" -.align 2, 0 - -.global gUnknown_811CAD0 -gUnknown_811CAD0: @ 811CAD0 -.string "__ground_amd_conversion_00196\0" -.align 2, 0 - -.global gUnknown_811CAF0 -gUnknown_811CAF0: @ 811CAF0 -.string "__ground_amd_conversion_00195\0" -.align 2, 0 - -.global gUnknown_811CB10 -gUnknown_811CB10: @ 811CB10 -.string "__ground_amd_conversion_00194\0" -.align 2, 0 - -.global gUnknown_811CB30 -gUnknown_811CB30: @ 811CB30 -.string "__ground_amd_conversion_00193\0" -.align 2, 0 - -.global gUnknown_811CB50 -gUnknown_811CB50: @ 811CB50 -.string "__ground_amd_conversion_00192\0" -.align 2, 0 - -.global gUnknown_811CB70 -gUnknown_811CB70: @ 811CB70 -.string "__ground_amd_conversion_00191\0" -.align 2, 0 - -.global gUnknown_811CB90 -gUnknown_811CB90: @ 811CB90 -.string "__ground_amd_conversion_00190\0" -.align 2, 0 - -.global gUnknown_811CBB0 -gUnknown_811CBB0: @ 811CBB0 -.string "__ground_amd_conversion_00189\0" -.align 2, 0 - -.global gUnknown_811CBD0 -gUnknown_811CBD0: @ 811CBD0 -.string "__ground_amd_conversion_00188\0" -.align 2, 0 - -.global gUnknown_811CBF0 -gUnknown_811CBF0: @ 811CBF0 -.string "__ground_amd_conversion_00187\0" -.align 2, 0 - -.global gUnknown_811CC10 -gUnknown_811CC10: @ 811CC10 -.string "__ground_amd_conversion_00186\0" -.align 2, 0 - -.global gUnknown_811CC30 -gUnknown_811CC30: @ 811CC30 -.string "__ground_amd_conversion_00185\0" -.align 2, 0 - -.global gUnknown_811CC50 -gUnknown_811CC50: @ 811CC50 -.string "__ground_amd_conversion_00184\0" -.align 2, 0 - -.global gUnknown_811CC70 -gUnknown_811CC70: @ 811CC70 -.string "__ground_amd_conversion_00183\0" -.align 2, 0 - -.global gUnknown_811CC90 -gUnknown_811CC90: @ 811CC90 -.string "__ground_amd_conversion_00182\0" -.align 2, 0 - -.global gUnknown_811CCB0 -gUnknown_811CCB0: @ 811CCB0 -.string "__ground_amd_conversion_00181\0" -.align 2, 0 - -.global gUnknown_811CCD0 -gUnknown_811CCD0: @ 811CCD0 -.string "__ground_amd_conversion_00180\0" -.align 2, 0 - -.global gUnknown_811CCF0 -gUnknown_811CCF0: @ 811CCF0 -.string "__ground_amd_conversion_00179\0" -.align 2, 0 - -.global gUnknown_811CD10 -gUnknown_811CD10: @ 811CD10 -.string "__ground_amd_conversion_00178\0" -.align 2, 0 - -.global gUnknown_811CD30 -gUnknown_811CD30: @ 811CD30 -.string "__ground_amd_conversion_00177\0" -.align 2, 0 - -.global gUnknown_811CD50 -gUnknown_811CD50: @ 811CD50 -.string "__ground_amd_conversion_00176\0" -.align 2, 0 - -.global gUnknown_811CD70 -gUnknown_811CD70: @ 811CD70 -.string "__ground_amd_conversion_00175\0" -.align 2, 0 - -.global gUnknown_811CD90 -gUnknown_811CD90: @ 811CD90 -.string "__ground_amd_conversion_00174\0" -.align 2, 0 - -.global gUnknown_811CDB0 -gUnknown_811CDB0: @ 811CDB0 -.string "__ground_amd_conversion_00173\0" -.align 2, 0 - -.global gUnknown_811CDD0 -gUnknown_811CDD0: @ 811CDD0 -.string "__ground_amd_conversion_00172\0" -.align 2, 0 - -.global gUnknown_811CDF0 -gUnknown_811CDF0: @ 811CDF0 -.string "__ground_amd_conversion_00171\0" -.align 2, 0 - -.global gUnknown_811CE10 -gUnknown_811CE10: @ 811CE10 -.string "__ground_amd_conversion_00170\0" -.align 2, 0 - -.global gUnknown_811CE30 -gUnknown_811CE30: @ 811CE30 -.string "__ground_amd_conversion_00168\0" -.align 2, 0 - -.global gUnknown_811CE50 -gUnknown_811CE50: @ 811CE50 -.string "__ground_amd_conversion_00167\0" -.align 2, 0 - -.global gUnknown_811CE70 -gUnknown_811CE70: @ 811CE70 -.string "__ground_amd_conversion_00166\0" -.align 2, 0 - -.global gUnknown_811CE90 -gUnknown_811CE90: @ 811CE90 -.string "__ground_amd_conversion_00165\0" -.align 2, 0 - -.global gUnknown_811CEB0 -gUnknown_811CEB0: @ 811CEB0 -.string "__ground_amd_conversion_00164\0" -.align 2, 0 - -.global gUnknown_811CED0 -gUnknown_811CED0: @ 811CED0 -.string "__ground_amd_conversion_00163\0" -.align 2, 0 - -.global gUnknown_811CEF0 -gUnknown_811CEF0: @ 811CEF0 -.string "__ground_amd_conversion_00162\0" -.align 2, 0 - -.global gUnknown_811CF10 -gUnknown_811CF10: @ 811CF10 -.string "__ground_amd_conversion_00161\0" -.align 2, 0 - -.global gUnknown_811CF30 -gUnknown_811CF30: @ 811CF30 -.string "__ground_amd_conversion_00160\0" -.align 2, 0 - -.global gUnknown_811CF50 -gUnknown_811CF50: @ 811CF50 -.string "__ground_amd_conversion_00159\0" -.align 2, 0 - -.global gUnknown_811CF70 -gUnknown_811CF70: @ 811CF70 -.string "__ground_amd_conversion_00158\0" -.align 2, 0 - -.global gUnknown_811CF90 -gUnknown_811CF90: @ 811CF90 -.string "__ground_amd_conversion_00157\0" -.align 2, 0 - -.global gUnknown_811CFB0 -gUnknown_811CFB0: @ 811CFB0 -.string "__ground_amd_conversion_00156\0" -.align 2, 0 - -.global gUnknown_811CFD0 -gUnknown_811CFD0: @ 811CFD0 -.string "__ground_amd_conversion_00155\0" -.align 2, 0 - -.global gUnknown_811CFF0 -gUnknown_811CFF0: @ 811CFF0 -.string "__ground_amd_conversion_00153\0" -.align 2, 0 - -.global gUnknown_811D010 -gUnknown_811D010: @ 811D010 -.string "__ground_amd_conversion_00152\0" -.align 2, 0 - -.global gUnknown_811D030 -gUnknown_811D030: @ 811D030 -.string "__ground_amd_conversion_00150\0" -.align 2, 0 - -.global gUnknown_811D050 -gUnknown_811D050: @ 811D050 -.string "__ground_amd_conversion_00149\0" -.align 2, 0 - -.global gUnknown_811D070 -gUnknown_811D070: @ 811D070 -.string "__ground_amd_conversion_00148\0" -.align 2, 0 - -.global gUnknown_811D090 -gUnknown_811D090: @ 811D090 -.string "__ground_amd_conversion_00147\0" -.align 2, 0 - -.global gUnknown_811D0B0 -gUnknown_811D0B0: @ 811D0B0 -.string "__ground_amd_conversion_00146\0" -.align 2, 0 - -.global gUnknown_811D0D0 -gUnknown_811D0D0: @ 811D0D0 -.string "__ground_amd_conversion_00145\0" -.align 2, 0 - -.global gUnknown_811D0F0 -gUnknown_811D0F0: @ 811D0F0 -.string "__ground_amd_conversion_00144\0" -.align 2, 0 - -.global gUnknown_811D110 -gUnknown_811D110: @ 811D110 -.string "__ground_amd_conversion_00143\0" -.align 2, 0 - -.global gUnknown_811D130 -gUnknown_811D130: @ 811D130 -.string "__ground_amd_conversion_00142\0" -.align 2, 0 - -.global gUnknown_811D150 -gUnknown_811D150: @ 811D150 -.string "__ground_amd_conversion_00141\0" -.align 2, 0 - -.global gUnknown_811D170 -gUnknown_811D170: @ 811D170 -.string "__ground_amd_conversion_00140\0" -.align 2, 0 - -.global gUnknown_811D190 -gUnknown_811D190: @ 811D190 -.string "__ground_amd_conversion_00139\0" -.align 2, 0 - -.global gUnknown_811D1B0 -gUnknown_811D1B0: @ 811D1B0 -.string "__ground_amd_conversion_00138\0" -.align 2, 0 - -.global gUnknown_811D1D0 -gUnknown_811D1D0: @ 811D1D0 -.string "__ground_amd_conversion_00137\0" -.align 2, 0 - -.global gUnknown_811D1F0 -gUnknown_811D1F0: @ 811D1F0 -.string "__ground_amd_conversion_00136\0" -.align 2, 0 - -.global gUnknown_811D210 -gUnknown_811D210: @ 811D210 -.string "__ground_amd_conversion_00135\0" -.align 2, 0 - -.global gUnknown_811D230 -gUnknown_811D230: @ 811D230 -.string "__ground_amd_conversion_00134\0" -.align 2, 0 - -.global gUnknown_811D250 -gUnknown_811D250: @ 811D250 -.string "__ground_amd_conversion_00133\0" -.align 2, 0 - -.global gUnknown_811D270 -gUnknown_811D270: @ 811D270 -.string "__ground_amd_conversion_00132\0" -.align 2, 0 - -.global gUnknown_811D290 -gUnknown_811D290: @ 811D290 -.string "__ground_amd_conversion_00130\0" -.align 2, 0 - -.global gUnknown_811D2B0 -gUnknown_811D2B0: @ 811D2B0 -.string "__ground_amd_conversion_00129\0" -.align 2, 0 - -.global gUnknown_811D2D0 -gUnknown_811D2D0: @ 811D2D0 -.string "__ground_amd_conversion_00128\0" -.align 2, 0 - -.global gUnknown_811D2F0 -gUnknown_811D2F0: @ 811D2F0 -.string "__ground_amd_conversion_00127\0" -.align 2, 0 - -.global gUnknown_811D310 -gUnknown_811D310: @ 811D310 -.string "__ground_amd_conversion_00126\0" -.align 2, 0 - -.global gUnknown_811D330 -gUnknown_811D330: @ 811D330 -.string "__ground_amd_conversion_00125\0" -.align 2, 0 - -.global gUnknown_811D350 -gUnknown_811D350: @ 811D350 -.string "__ground_amd_conversion_00124\0" -.align 2, 0 - -.global gUnknown_811D370 -gUnknown_811D370: @ 811D370 -.string "__ground_amd_conversion_00123\0" -.align 2, 0 - -.global gUnknown_811D390 -gUnknown_811D390: @ 811D390 -.string "__ground_amd_conversion_00122\0" -.align 2, 0 - -.global gUnknown_811D3B0 -gUnknown_811D3B0: @ 811D3B0 -.string "__ground_amd_conversion_00121\0" -.align 2, 0 - -.global gUnknown_811D3D0 -gUnknown_811D3D0: @ 811D3D0 -.string "__ground_amd_conversion_00120\0" -.align 2, 0 - -.global gUnknown_811D3F0 -gUnknown_811D3F0: @ 811D3F0 -.string "__ground_amd_conversion_00119\0" -.align 2, 0 - -.global gUnknown_811D410 -gUnknown_811D410: @ 811D410 -.string "__ground_amd_conversion_00118\0" -.align 2, 0 - -.global gUnknown_811D430 -gUnknown_811D430: @ 811D430 -.string "__ground_amd_conversion_00117\0" -.align 2, 0 - -.global gUnknown_811D450 -gUnknown_811D450: @ 811D450 -.string "__ground_amd_conversion_00116\0" -.align 2, 0 - -.global gUnknown_811D470 -gUnknown_811D470: @ 811D470 -.string "__ground_amd_conversion_00114\0" -.align 2, 0 - -.global gUnknown_811D490 -gUnknown_811D490: @ 811D490 -.string "__ground_amd_conversion_00112\0" -.align 2, 0 - -.global gUnknown_811D4B0 -gUnknown_811D4B0: @ 811D4B0 -.string "__ground_amd_conversion_00110\0" -.align 2, 0 - -.global gUnknown_811D4D0 -gUnknown_811D4D0: @ 811D4D0 -.string "__ground_amd_conversion_00109\0" -.align 2, 0 - -.global gUnknown_811D4F0 -gUnknown_811D4F0: @ 811D4F0 -.string "__ground_amd_conversion_00108\0" -.align 2, 0 - -.global gUnknown_811D510 -gUnknown_811D510: @ 811D510 -.string "__ground_amd_conversion_00106\0" -.align 2, 0 - -.global gUnknown_811D530 -gUnknown_811D530: @ 811D530 -.string "__ground_amd_conversion_00105\0" -.align 2, 0 - -.global gUnknown_811D550 -gUnknown_811D550: @ 811D550 -.string "__ground_amd_conversion_00104\0" -.align 2, 0 - -.global gUnknown_811D570 -gUnknown_811D570: @ 811D570 -.string "__ground_amd_conversion_00103\0" -.align 2, 0 - -.global gUnknown_811D590 -gUnknown_811D590: @ 811D590 -.string "__ground_amd_conversion_00102\0" -.align 2, 0 - -.global gUnknown_811D5B0 -gUnknown_811D5B0: @ 811D5B0 -.string "__ground_amd_conversion_00101\0" -.align 2, 0 - -.global gUnknown_811D5D0 -gUnknown_811D5D0: @ 811D5D0 -.string "__ground_amd_conversion_00100\0" -.align 2, 0 - -.global gUnknown_811D5F0 -gUnknown_811D5F0: @ 811D5F0 -.string "__ground_amd_conversion_00099\0" -.align 2, 0 - -.global gUnknown_811D610 -gUnknown_811D610: @ 811D610 -.string "__ground_amd_conversion_00098\0" -.align 2, 0 - -.global gUnknown_811D630 -gUnknown_811D630: @ 811D630 -.string "__ground_amd_conversion_00097\0" -.align 2, 0 - -.global gUnknown_811D650 -gUnknown_811D650: @ 811D650 -.string "__ground_amd_conversion_00096\0" -.align 2, 0 - -.global gUnknown_811D670 -gUnknown_811D670: @ 811D670 -.string "__ground_amd_conversion_00095\0" -.align 2, 0 - -.global gUnknown_811D690 -gUnknown_811D690: @ 811D690 -.string "__ground_amd_conversion_00094\0" -.align 2, 0 - -.global gUnknown_811D6B0 -gUnknown_811D6B0: @ 811D6B0 -.string "__ground_amd_conversion_00093\0" -.align 2, 0 - -.global gUnknown_811D6D0 -gUnknown_811D6D0: @ 811D6D0 -.string "__ground_amd_conversion_00092\0" -.align 2, 0 - -.global gUnknown_811D6F0 -gUnknown_811D6F0: @ 811D6F0 -.string "__ground_amd_conversion_00091\0" -.align 2, 0 - -.global gUnknown_811D710 -gUnknown_811D710: @ 811D710 -.string "__ground_amd_conversion_00090\0" -.align 2, 0 - -.global gUnknown_811D730 -gUnknown_811D730: @ 811D730 -.string "__ground_amd_conversion_00089\0" -.align 2, 0 - -.global gUnknown_811D750 -gUnknown_811D750: @ 811D750 -.string "__ground_amd_conversion_00088\0" -.align 2, 0 - -.global gUnknown_811D770 -gUnknown_811D770: @ 811D770 -.string "__ground_amd_conversion_00087\0" -.align 2, 0 - -.global gUnknown_811D790 -gUnknown_811D790: @ 811D790 -.string "__ground_amd_conversion_00086\0" -.align 2, 0 - -.global gUnknown_811D7B0 -gUnknown_811D7B0: @ 811D7B0 -.string "__ground_amd_conversion_00085\0" -.align 2, 0 - -.global gUnknown_811D7D0 -gUnknown_811D7D0: @ 811D7D0 -.string "__ground_amd_conversion_00084\0" -.align 2, 0 - -.global gUnknown_811D7F0 -gUnknown_811D7F0: @ 811D7F0 -.string "__ground_amd_conversion_00083\0" -.align 2, 0 - -.global gUnknown_811D810 -gUnknown_811D810: @ 811D810 -.string "__ground_amd_conversion_00082\0" -.align 2, 0 - -.global gUnknown_811D830 -gUnknown_811D830: @ 811D830 -.string "__ground_amd_conversion_00081\0" -.align 2, 0 - -.global gUnknown_811D850 -gUnknown_811D850: @ 811D850 -.string "__ground_amd_conversion_00080\0" -.align 2, 0 - -.global gUnknown_811D870 -gUnknown_811D870: @ 811D870 -.string "__ground_amd_conversion_00079\0" -.align 2, 0 - -.global gUnknown_811D890 -gUnknown_811D890: @ 811D890 -.string "__ground_amd_conversion_00078\0" -.align 2, 0 - -.global gUnknown_811D8B0 -gUnknown_811D8B0: @ 811D8B0 -.string "__ground_amd_conversion_00077\0" -.align 2, 0 - -.global gUnknown_811D8D0 -gUnknown_811D8D0: @ 811D8D0 -.string "__ground_amd_conversion_00076\0" -.align 2, 0 - -.global gUnknown_811D8F0 -gUnknown_811D8F0: @ 811D8F0 -.string "__ground_amd_conversion_00075\0" -.align 2, 0 - -.global gUnknown_811D910 -gUnknown_811D910: @ 811D910 -.string "__ground_amd_conversion_00074\0" -.align 2, 0 - -.global gUnknown_811D930 -gUnknown_811D930: @ 811D930 -.string "__ground_amd_conversion_00073\0" -.align 2, 0 - -.global gUnknown_811D950 -gUnknown_811D950: @ 811D950 -.string "__ground_amd_conversion_00072\0" -.align 2, 0 - -.global gUnknown_811D970 -gUnknown_811D970: @ 811D970 -.string "__ground_amd_conversion_00071\0" -.align 2, 0 - -.global gUnknown_811D990 -gUnknown_811D990: @ 811D990 -.string "__ground_amd_conversion_00070\0" -.align 2, 0 - -.global gUnknown_811D9B0 -gUnknown_811D9B0: @ 811D9B0 -.string "__ground_amd_conversion_00069\0" -.align 2, 0 - -.global gUnknown_811D9D0 -gUnknown_811D9D0: @ 811D9D0 -.string "__ground_amd_conversion_00068\0" -.align 2, 0 - -.global gUnknown_811D9F0 -gUnknown_811D9F0: @ 811D9F0 -.string "__ground_amd_conversion_00067\0" -.align 2, 0 - -.global gUnknown_811DA10 -gUnknown_811DA10: @ 811DA10 -.string "__ground_amd_conversion_00066\0" -.align 2, 0 - -.global gUnknown_811DA30 -gUnknown_811DA30: @ 811DA30 -.string "__ground_amd_conversion_00065\0" -.align 2, 0 - -.global gUnknown_811DA50 -gUnknown_811DA50: @ 811DA50 -.string "__ground_amd_conversion_00064\0" -.align 2, 0 - -.global gUnknown_811DA70 -gUnknown_811DA70: @ 811DA70 -.string "__ground_amd_conversion_00063\0" -.align 2, 0 - -.global gUnknown_811DA90 -gUnknown_811DA90: @ 811DA90 -.string "__ground_amd_conversion_00062\0" -.align 2, 0 - -.global gUnknown_811DAB0 -gUnknown_811DAB0: @ 811DAB0 -.string "__ground_amd_conversion_00061\0" -.align 2, 0 - -.global gUnknown_811DAD0 -gUnknown_811DAD0: @ 811DAD0 -.string "__ground_amd_conversion_00060\0" -.align 2, 0 - -.global gUnknown_811DAF0 -gUnknown_811DAF0: @ 811DAF0 -.string "__ground_amd_conversion_00059\0" -.align 2, 0 - -.global gUnknown_811DB10 -gUnknown_811DB10: @ 811DB10 -.string "__ground_amd_conversion_00058\0" -.align 2, 0 - -.global gUnknown_811DB30 -gUnknown_811DB30: @ 811DB30 -.string "__ground_amd_conversion_00057\0" -.align 2, 0 - -.global gUnknown_811DB50 -gUnknown_811DB50: @ 811DB50 -.string "__ground_amd_conversion_00056\0" -.align 2, 0 - -.global gUnknown_811DB70 -gUnknown_811DB70: @ 811DB70 -.string "__ground_amd_conversion_00055\0" -.align 2, 0 - -.global gUnknown_811DB90 -gUnknown_811DB90: @ 811DB90 -.string "__ground_amd_conversion_00054\0" -.align 2, 0 - -.global gUnknown_811DBB0 -gUnknown_811DBB0: @ 811DBB0 -.string "__ground_amd_conversion_00053\0" -.align 2, 0 - -.global gUnknown_811DBD0 -gUnknown_811DBD0: @ 811DBD0 -.string "__ground_amd_conversion_00052\0" -.align 2, 0 - -.global gUnknown_811DBF0 -gUnknown_811DBF0: @ 811DBF0 -.string "__ground_amd_conversion_00051\0" -.align 2, 0 - -.global gUnknown_811DC10 -gUnknown_811DC10: @ 811DC10 -.string "__ground_amd_conversion_00050\0" -.align 2, 0 - -.global gUnknown_811DC30 -gUnknown_811DC30: @ 811DC30 -.string "__ground_amd_conversion_00049\0" -.align 2, 0 - -.global gUnknown_811DC50 -gUnknown_811DC50: @ 811DC50 -.string "__ground_amd_conversion_00048\0" -.align 2, 0 - -.global gUnknown_811DC70 -gUnknown_811DC70: @ 811DC70 -.string "__ground_amd_conversion_00047\0" -.align 2, 0 - -.global gUnknown_811DC90 -gUnknown_811DC90: @ 811DC90 -.string "__ground_amd_conversion_00046\0" -.align 2, 0 - -.global gUnknown_811DCB0 -gUnknown_811DCB0: @ 811DCB0 -.string "__ground_amd_conversion_00045\0" -.align 2, 0 - -.global gUnknown_811DCD0 -gUnknown_811DCD0: @ 811DCD0 -.string "__ground_amd_conversion_00044\0" -.align 2, 0 - -.global gUnknown_811DCF0 -gUnknown_811DCF0: @ 811DCF0 -.string "__ground_amd_conversion_00043\0" -.align 2, 0 - -.global gUnknown_811DD10 -gUnknown_811DD10: @ 811DD10 -.string "__ground_amd_conversion_00042\0" -.align 2, 0 - -.global gUnknown_811DD30 -gUnknown_811DD30: @ 811DD30 -.string "__ground_amd_conversion_00041\0" -.align 2, 0 - -.global gUnknown_811DD50 -gUnknown_811DD50: @ 811DD50 -.string "__ground_amd_conversion_00040\0" -.align 2, 0 - -.global gUnknown_811DD70 -gUnknown_811DD70: @ 811DD70 -.string "__ground_amd_conversion_00039\0" -.align 2, 0 - -.global gUnknown_811DD90 -gUnknown_811DD90: @ 811DD90 -.string "__ground_amd_conversion_00038\0" -.align 2, 0 - -.global gUnknown_811DDB0 -gUnknown_811DDB0: @ 811DDB0 -.string "__ground_amd_conversion_00037\0" -.align 2, 0 - -.global gUnknown_811DDD0 -gUnknown_811DDD0: @ 811DDD0 -.string "__ground_amd_conversion_00036\0" -.align 2, 0 - -.global gUnknown_811DDF0 -gUnknown_811DDF0: @ 811DDF0 -.string "__ground_amd_conversion_00035\0" -.align 2, 0 - -.global gUnknown_811DE10 -gUnknown_811DE10: @ 811DE10 -.string "__ground_amd_conversion_00034\0" -.align 2, 0 - -.global gUnknown_811DE30 -gUnknown_811DE30: @ 811DE30 -.string "__ground_amd_conversion_00033\0" -.align 2, 0 - -.global gUnknown_811DE50 -gUnknown_811DE50: @ 811DE50 -.string "__ground_amd_conversion_00032\0" -.align 2, 0 - -.global gUnknown_811DE70 -gUnknown_811DE70: @ 811DE70 -.string "__ground_amd_conversion_00031\0" -.align 2, 0 - -.global gUnknown_811DE90 -gUnknown_811DE90: @ 811DE90 -.string "__ground_amd_conversion_00030\0" -.align 2, 0 - -.global gUnknown_811DEB0 -gUnknown_811DEB0: @ 811DEB0 -.string "__ground_amd_conversion_00029\0" -.align 2, 0 - -.global gUnknown_811DED0 -gUnknown_811DED0: @ 811DED0 -.string "__ground_amd_conversion_00028\0" -.align 2, 0 - -.global gUnknown_811DEF0 -gUnknown_811DEF0: @ 811DEF0 -.string "__ground_amd_conversion_00027\0" -.align 2, 0 - -.global gUnknown_811DF10 -gUnknown_811DF10: @ 811DF10 -.string "__ground_amd_conversion_00026\0" -.align 2, 0 - -.global gUnknown_811DF30 -gUnknown_811DF30: @ 811DF30 -.string "__ground_amd_conversion_00025\0" -.align 2, 0 - -.global gUnknown_811DF50 -gUnknown_811DF50: @ 811DF50 -.string "__ground_amd_conversion_00024\0" -.align 2, 0 - -.global gUnknown_811DF70 -gUnknown_811DF70: @ 811DF70 -.string "__ground_amd_conversion_00023\0" -.align 2, 0 - -.global gUnknown_811DF90 -gUnknown_811DF90: @ 811DF90 -.string "__ground_amd_conversion_00022\0" -.align 2, 0 - -.global gUnknown_811DFB0 -gUnknown_811DFB0: @ 811DFB0 -.string "__ground_amd_conversion_00021\0" -.align 2, 0 - -.global gUnknown_811DFD0 -gUnknown_811DFD0: @ 811DFD0 -.string "__ground_amd_conversion_00020\0" -.align 2, 0 - -.global gUnknown_811DFF0 -gUnknown_811DFF0: @ 811DFF0 -.string "__ground_amd_conversion_00019\0" -.align 2, 0 - -.global gUnknown_811E010 -gUnknown_811E010: @ 811E010 -.string "__ground_amd_conversion_00018\0" -.align 2, 0 - -.global gUnknown_811E030 -gUnknown_811E030: @ 811E030 -.string "__ground_amd_conversion_00017\0" -.align 2, 0 - -.global gUnknown_811E050 -gUnknown_811E050: @ 811E050 -.string "__ground_amd_conversion_00016\0" -.align 2, 0 - -.global gUnknown_811E070 -gUnknown_811E070: @ 811E070 -.string "__ground_amd_conversion_00015\0" -.align 2, 0 - -.global gUnknown_811E090 -gUnknown_811E090: @ 811E090 -.string "__ground_amd_conversion_00014\0" -.align 2, 0 - -.global gUnknown_811E0B0 -gUnknown_811E0B0: @ 811E0B0 -.string "__ground_amd_conversion_00013\0" -.align 2, 0 - -.global gUnknown_811E0D0 -gUnknown_811E0D0: @ 811E0D0 -.string "__ground_amd_conversion_00012\0" -.align 2, 0 - -.global gUnknown_811E0F0 -gUnknown_811E0F0: @ 811E0F0 -.string "__ground_amd_conversion_00011\0" -.align 2, 0 - -.global gUnknown_811E110 -gUnknown_811E110: @ 811E110 -.string "__ground_amd_conversion_00010\0" -.align 2, 0 - -.global gUnknown_811E130 -gUnknown_811E130: @ 811E130 -.string "__ground_amd_conversion_00008\0" -.align 2, 0 - -.global gUnknown_811E150 -gUnknown_811E150: @ 811E150 -.string "__ground_amd_conversion_00007\0" -.align 2, 0 - -.global gUnknown_811E170 -gUnknown_811E170: @ 811E170 -.string "__ground_amd_conversion_00006\0" -.align 2, 0 - -.global gUnknown_811E190 -gUnknown_811E190: @ 811E190 -.string "__ground_amd_conversion_00005\0" -.align 2, 0 - -.global gUnknown_811E1B0 -gUnknown_811E1B0: @ 811E1B0 -.string "__ground_amd_conversion_00004\0" -.align 2, 0 - -.global gUnknown_811E1D0 -gUnknown_811E1D0: @ 811E1D0 -.string "__ground_amd_conversion_00003\0" -.align 2, 0 - -.global gUnknown_811E1F0 -gUnknown_811E1F0: @ 811E1F0 -.string "__ground_amd_conversion_00002\0" -.align 2, 0 - -.global gUnknown_811E210 -gUnknown_811E210: @ 811E210 -.string "__ground_amd_conversion_00001\0" -.align 2, 0 - -.global gUnknown_811E230 -gUnknown_811E230: @ 811E230 -.byte 0x5f, 0x5f, 0x67, 0x72 -.byte 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x61, 0x6d, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x70, 0x6b, 0x73, 0x64 -.byte 0x69, 0x72, 0x30, 0x00 -@ Script Data - -.global gMapScriptTable -gMapScriptTable: @ 811E258 -@ replacing .incbin "baserom.gba", 0x11E258, 0x39C -.4byte gGroundScript_gs0 -.4byte gGroundScript_gs1 -.4byte gGroundScript_gs2 -.4byte gGroundScript_gs2 -.4byte gGroundScript_gs4 -.4byte gGroundScript_gs5 -.4byte gGroundScript_gs6 -.4byte gGroundScript_gs7 -.4byte gGroundScript_gs8 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs9 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs12 -.4byte gGroundScript_gs105 -.4byte gGroundScript_gs106 -.4byte gGroundScript_gs107 -.4byte gGroundScript_gs108 -.4byte gGroundScript_gs109 -.4byte gGroundScript_gs110 -.4byte gGroundScript_gs111 -.4byte gGroundScript_gs112 -.4byte gGroundScript_gs113 -.4byte gGroundScript_gs114 -.4byte gGroundScript_gs115 -.4byte gGroundScript_gs116 -.4byte gGroundScript_gs117 -.4byte gGroundScript_gs118 -.4byte gGroundScript_gs119 -.4byte gGroundScript_gs120 -.4byte gGroundScript_gs121 -.4byte gGroundScript_gs122 -.4byte gGroundScript_gs123 -.4byte gGroundScript_gs124 -.4byte gGroundScript_gs125 -.4byte gGroundScript_gs126 -.4byte gGroundScript_gs127 -.4byte gGroundScript_gs128 -.4byte gGroundScript_gs129 -.4byte gGroundScript_gs130 -.4byte gGroundScript_gs131 -.4byte gGroundScript_gs132 -.4byte gGroundScript_gs133 -.4byte gGroundScript_gs134 -.4byte gGroundScript_gs135 -.4byte gGroundScript_gs136 -.4byte gGroundScript_gs137 -.4byte gGroundScript_gs138 -.4byte gGroundScript_gs139 -.4byte gGroundScript_gs140 -.4byte gGroundScript_gs141 -.4byte gGroundScript_gs142 -.4byte gGroundScript_gs143 -.4byte gGroundScript_gs144 -.4byte gGroundScript_gs145 -.4byte gGroundScript_gs146 -.4byte gGroundScript_gs147 -.4byte gGroundScript_gs148 -.4byte gGroundScript_gs149 -.4byte gGroundScript_gs150 -.4byte gGroundScript_gs151 -.4byte gGroundScript_gs152 -.4byte gGroundScript_gs153 -.4byte gGroundScript_gs154 -.4byte gGroundScript_gs155 -.4byte gGroundScript_gs156 -.4byte gGroundScript_gs157 -.4byte gGroundScript_gs158 -.4byte gGroundScript_gs159 -.4byte gGroundScript_gs160 -.4byte gGroundScript_gs161 -.4byte gGroundScript_gs162 -.4byte gGroundScript_gs163 -.4byte gGroundScript_gs164 -.4byte gGroundScript_gs165 -.4byte gGroundScript_gs166 -.4byte gGroundScript_gs167 -.4byte gGroundScript_gs168 -.4byte gGroundScript_gs169 -.4byte gGroundScript_gs170 -.4byte gGroundScript_gs171 -.4byte gGroundScript_gs172 -.4byte gGroundScript_gs173 -.4byte gGroundScript_gs174 -.4byte gGroundScript_gs175 -.4byte gGroundScript_gs176 -.4byte gGroundScript_gs177 -.4byte gGroundScript_gs178 -.4byte gGroundScript_gs179 -.4byte gGroundScript_gs180 -.4byte gGroundScript_gs181 -.4byte gGroundScript_gs182 -.4byte gGroundScript_gs183 -.4byte gGroundScript_gs184 -.4byte gGroundScript_gs185 -.4byte gGroundScript_gs186 -.4byte gGroundScript_gs187 -.4byte gGroundScript_gs188 -.4byte gGroundScript_gs189 -.4byte gGroundScript_gs190 -.4byte gGroundScript_gs191 -.4byte gGroundScript_gs192 -.4byte gGroundScript_gs193 -.4byte gGroundScript_gs194 -.4byte gGroundScript_gs195 -.4byte gGroundScript_gs196 -.4byte gGroundScript_gs197 -.4byte gGroundScript_gs198 -.4byte gGroundScript_gs199 -.4byte gGroundScript_gs200 -.4byte gGroundScript_gs201 -.4byte gGroundScript_gs202 -.4byte gGroundScript_gs203 -.4byte gGroundScript_gs204 -.4byte gGroundScript_gs205 -.4byte gGroundScript_gs206 -.4byte gGroundScript_gs207 -.4byte gGroundScript_gs208 -.4byte gGroundScript_gs209 -.4byte gGroundScript_gs210 -.4byte gGroundScript_gs211 -.4byte gGroundScript_gs212 -.4byte gGroundScript_gs213 -.4byte gGroundScript_gs214 -.4byte gGroundScript_gs215 -.4byte gGroundScript_gs216 -.4byte gGroundScript_gs217 -.4byte gGroundScript_gs218 -.4byte gGroundScript_gs219 -.4byte gGroundScript_gs220 -.4byte gGroundScript_gs221 -.4byte gGroundScript_gs222 -.4byte gGroundScript_gs223 -.4byte gGroundScript_gs224 -.4byte gGroundScript_gs225 -.4byte gGroundScript_gs226 -.4byte gGroundScript_gs227 -.4byte gGroundScript_gs228 -.string "pksdir0\0" -.align 2, 0 - -.global gUnknown_811E5F4 -gUnknown_811E5F4: @ 811E5F4 -@ replacing .incbin "baserom.gba", 0x11E5F4, 0x48 -.byte 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x71, 0x00 -.byte 0x00, 0x00, 0x73, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, 0x00, 0x97, 0x00, 0x00, 0x00, 0x9a, 0x00 -.byte 0x00, 0x00, 0xa9, 0x00, 0x01, 0x00, 0xee, 0x00, 0x01, 0x00, 0xef, 0x00, 0x01, 0x00, 0xf0, 0x00 -.byte 0x01, 0x00, 0xf1, 0x00, 0x01, 0x00, 0xf2, 0x00, 0x01, 0x00, 0xf3, 0x00, 0x01, 0x00, 0xf4, 0x00 -.byte 0x70, 0x6b, 0x73, 0x64, 0x69, 0x72, 0x30, 0x00 - -.global gGroundLivesTypeData_811E63C -gGroundLivesTypeData_811E63C: @ 811E63C -@ replacing .incbin "baserom.gba", 0x11E63C, 0x6E4 -.byte 0x01, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x02, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x02, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x5e, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x08, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x09, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x34, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x6c, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x61, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa4, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x0b, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xb8, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x00, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0c, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0a, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x51, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x52, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x51, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x32, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xfc, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7c, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7c, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x35, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x55, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x73, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x55, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbd, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x45, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0xea, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xeb, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x83, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x41, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2c, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2b, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2b, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x41, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x06, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x11, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x5e, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x17, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0b, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbd, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x91, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0xb2, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x6d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x26, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0xa5, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x92, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x90, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9b, 0x01 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x09, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0xf9, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4c, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x09, 0x00 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0xa7, 0x01 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x84, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xe3, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x38, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x60, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x0d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0c, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0e, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x13, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x96, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x99, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x98, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x04, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x04, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x04, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa4, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x97, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x95, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x96, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x97, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x9a, 0x01 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x12, 0x01 -.4byte gUnknown_811ED14 -.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9e, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x1a, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x2a, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x70, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7a, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7b, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0x7f, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9a, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbe, 0x00 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 -.byte 0x05, 0x00, 0xa6, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa6, 0x01 -.4byte gUnknown_811ED14 -.byte 0x02, 0x01, 0x00, 0x00 - -.global gUnknown_811ED14 -gUnknown_811ED14: @ 811ED14 -.byte 0x2d, 0x00, 0x00, 0x00, 0x70, 0x6b, 0x73, 0x64 -.byte 0x69, 0x72, 0x30, 0x00 - -.global gGroundObjectTypes -gGroundObjectTypes: @ 811ED20 -@ replacing .incbin "baserom.gba", 0x11ED20, 0x118 -.byte 0x01, 0x00, 0x01, 0x01, 0x0e, 0x00, 0x01, 0x01, 0x09, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.byte 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03, 0x01, 0x04, 0x00, 0x00, 0x00 -.byte 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00 -.byte 0x0a, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.byte 0x05, 0x00, 0x03, 0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 -.byte 0x02, 0x00, 0x03, 0x03, 0x02, 0x00, 0x03, 0x04, 0x02, 0x00, 0x03, 0x03, 0x02, 0x00, 0x03, 0x04 -.byte 0x02, 0x00, 0x06, 0x04, 0x0b, 0x00, 0x03, 0x01, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 -.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0e, 0x00, 0x02, 0x01 -.byte 0x0e, 0x00, 0x02, 0x01, 0x0a, 0x00, 0x02, 0x01, 0x09, 0x00, 0x02, 0x02, 0x09, 0x00, 0x02, 0x02 -.byte 0x09, 0x00, 0x02, 0x02, 0x09, 0x00, 0x02, 0x02, 0x0a, 0x00, 0x02, 0x02, 0x0e, 0x00, 0x02, 0x02 -.byte 0x70, 0x6b, 0x73, 0x64, 0x69, 0x72, 0x30, 0x00 - -.global gGroundEffectTypes -gGroundEffectTypes: @ 811EE38 -@ replacing .incbin "baserom.gba", 0x11EE38, 0x103B8 -.byte 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x02, 0x00, 0x01, 0x01, 0x02, 0x00, 0x00, 0x00 -.byte 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 -.byte 0x03, 0x00, 0x01, 0x01 +.byte 0x54, 0x30, 0x30, 0x50, 0x30, 0x31, 0x00, 0x00 diff --git a/data/data_8115F5C_3_.s b/data/data_8115F5C_3_.s new file mode 100644 index 000000000..4e92429af --- /dev/null +++ b/data/data_8115F5C_3_.s @@ -0,0 +1,618 @@ +.section .rodata + +.align 2,0 + +.string "pksdir0\0" +.align 2,0 +@ Script Data + +.global gMapScriptTable +gMapScriptTable: @ 811E258 +@ replacing .incbin "baserom.gba", 0x11E258, 0x39C +.4byte gGroundScript_gs0 +.4byte gGroundScript_gs1 +.4byte gGroundScript_gs2 +.4byte gGroundScript_gs2 +.4byte gGroundScript_gs4 +.4byte gGroundScript_gs5 +.4byte gGroundScript_gs6 +.4byte gGroundScript_gs7 +.4byte gGroundScript_gs8 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs9 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs12 +.4byte gGroundScript_gs105 +.4byte gGroundScript_gs106 +.4byte gGroundScript_gs107 +.4byte gGroundScript_gs108 +.4byte gGroundScript_gs109 +.4byte gGroundScript_gs110 +.4byte gGroundScript_gs111 +.4byte gGroundScript_gs112 +.4byte gGroundScript_gs113 +.4byte gGroundScript_gs114 +.4byte gGroundScript_gs115 +.4byte gGroundScript_gs116 +.4byte gGroundScript_gs117 +.4byte gGroundScript_gs118 +.4byte gGroundScript_gs119 +.4byte gGroundScript_gs120 +.4byte gGroundScript_gs121 +.4byte gGroundScript_gs122 +.4byte gGroundScript_gs123 +.4byte gGroundScript_gs124 +.4byte gGroundScript_gs125 +.4byte gGroundScript_gs126 +.4byte gGroundScript_gs127 +.4byte gGroundScript_gs128 +.4byte gGroundScript_gs129 +.4byte gGroundScript_gs130 +.4byte gGroundScript_gs131 +.4byte gGroundScript_gs132 +.4byte gGroundScript_gs133 +.4byte gGroundScript_gs134 +.4byte gGroundScript_gs135 +.4byte gGroundScript_gs136 +.4byte gGroundScript_gs137 +.4byte gGroundScript_gs138 +.4byte gGroundScript_gs139 +.4byte gGroundScript_gs140 +.4byte gGroundScript_gs141 +.4byte gGroundScript_gs142 +.4byte gGroundScript_gs143 +.4byte gGroundScript_gs144 +.4byte gGroundScript_gs145 +.4byte gGroundScript_gs146 +.4byte gGroundScript_gs147 +.4byte gGroundScript_gs148 +.4byte gGroundScript_gs149 +.4byte gGroundScript_gs150 +.4byte gGroundScript_gs151 +.4byte gGroundScript_gs152 +.4byte gGroundScript_gs153 +.4byte gGroundScript_gs154 +.4byte gGroundScript_gs155 +.4byte gGroundScript_gs156 +.4byte gGroundScript_gs157 +.4byte gGroundScript_gs158 +.4byte gGroundScript_gs159 +.4byte gGroundScript_gs160 +.4byte gGroundScript_gs161 +.4byte gGroundScript_gs162 +.4byte gGroundScript_gs163 +.4byte gGroundScript_gs164 +.4byte gGroundScript_gs165 +.4byte gGroundScript_gs166 +.4byte gGroundScript_gs167 +.4byte gGroundScript_gs168 +.4byte gGroundScript_gs169 +.4byte gGroundScript_gs170 +.4byte gGroundScript_gs171 +.4byte gGroundScript_gs172 +.4byte gGroundScript_gs173 +.4byte gGroundScript_gs174 +.4byte gGroundScript_gs175 +.4byte gGroundScript_gs176 +.4byte gGroundScript_gs177 +.4byte gGroundScript_gs178 +.4byte gGroundScript_gs179 +.4byte gGroundScript_gs180 +.4byte gGroundScript_gs181 +.4byte gGroundScript_gs182 +.4byte gGroundScript_gs183 +.4byte gGroundScript_gs184 +.4byte gGroundScript_gs185 +.4byte gGroundScript_gs186 +.4byte gGroundScript_gs187 +.4byte gGroundScript_gs188 +.4byte gGroundScript_gs189 +.4byte gGroundScript_gs190 +.4byte gGroundScript_gs191 +.4byte gGroundScript_gs192 +.4byte gGroundScript_gs193 +.4byte gGroundScript_gs194 +.4byte gGroundScript_gs195 +.4byte gGroundScript_gs196 +.4byte gGroundScript_gs197 +.4byte gGroundScript_gs198 +.4byte gGroundScript_gs199 +.4byte gGroundScript_gs200 +.4byte gGroundScript_gs201 +.4byte gGroundScript_gs202 +.4byte gGroundScript_gs203 +.4byte gGroundScript_gs204 +.4byte gGroundScript_gs205 +.4byte gGroundScript_gs206 +.4byte gGroundScript_gs207 +.4byte gGroundScript_gs208 +.4byte gGroundScript_gs209 +.4byte gGroundScript_gs210 +.4byte gGroundScript_gs211 +.4byte gGroundScript_gs212 +.4byte gGroundScript_gs213 +.4byte gGroundScript_gs214 +.4byte gGroundScript_gs215 +.4byte gGroundScript_gs216 +.4byte gGroundScript_gs217 +.4byte gGroundScript_gs218 +.4byte gGroundScript_gs219 +.4byte gGroundScript_gs220 +.4byte gGroundScript_gs221 +.4byte gGroundScript_gs222 +.4byte gGroundScript_gs223 +.4byte gGroundScript_gs224 +.4byte gGroundScript_gs225 +.4byte gGroundScript_gs226 +.4byte gGroundScript_gs227 +.4byte gGroundScript_gs228 +.string "pksdir0\0" +.align 2, 0 + +.global gUnknown_811E5F4 +gUnknown_811E5F4: @ 811E5F4 +@ replacing .incbin "baserom.gba", 0x11E5F4, 0x48 +.byte 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x71, 0x00 +.byte 0x00, 0x00, 0x73, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, 0x00, 0x97, 0x00, 0x00, 0x00, 0x9a, 0x00 +.byte 0x00, 0x00, 0xa9, 0x00, 0x01, 0x00, 0xee, 0x00, 0x01, 0x00, 0xef, 0x00, 0x01, 0x00, 0xf0, 0x00 +.byte 0x01, 0x00, 0xf1, 0x00, 0x01, 0x00, 0xf2, 0x00, 0x01, 0x00, 0xf3, 0x00, 0x01, 0x00, 0xf4, 0x00 +.byte 0x70, 0x6b, 0x73, 0x64, 0x69, 0x72, 0x30, 0x00 + +.global gGroundLivesTypeData_811E63C +gGroundLivesTypeData_811E63C: @ 811E63C +@ replacing .incbin "baserom.gba", 0x11E63C, 0x6E4 +.byte 0x01, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x02, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x02, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x02, 0x00, 0x5e, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x08, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x09, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x34, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x6c, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x61, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa4, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x0b, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xb8, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x00, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0c, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0a, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x30, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x51, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x52, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x51, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x51, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x32, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xfc, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7c, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7c, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x35, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x55, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x73, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x55, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x28, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbd, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x45, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0xea, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xeb, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x33, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x83, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x41, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2c, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2b, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x2b, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x41, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x06, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x11, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x5e, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x17, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0b, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbd, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x91, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0xb2, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x6d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x26, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0xa5, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x92, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x90, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9b, 0x01 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x09, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0xf9, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x4c, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x09, 0x00 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0xa7, 0x01 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x84, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xe3, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x38, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x38, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x60, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x0d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0c, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x0e, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x13, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x96, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x99, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x98, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9d, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x04, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x04, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x04, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa4, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x97, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x95, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x96, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x97, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x9a, 0x01 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x12, 0x01 +.4byte gUnknown_811ED14 +.byte 0x03, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9e, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x1a, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x2a, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x70, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7a, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x7b, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0x7f, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x9a, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xbe, 0x00 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0x00, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 +.byte 0x05, 0x00, 0xa6, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00, 0x05, 0x00, 0xa6, 0x01 +.4byte gUnknown_811ED14 +.byte 0x02, 0x01, 0x00, 0x00 + +.global gUnknown_811ED14 +gUnknown_811ED14: @ 811ED14 +.byte 0x2d, 0x00, 0x00, 0x00, 0x70, 0x6b, 0x73, 0x64 +.byte 0x69, 0x72, 0x30, 0x00 + +.global gGroundObjectTypes +gGroundObjectTypes: @ 811ED20 +@ replacing .incbin "baserom.gba", 0x11ED20, 0x118 +.byte 0x01, 0x00, 0x01, 0x01, 0x0e, 0x00, 0x01, 0x01, 0x09, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.byte 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03, 0x01, 0x04, 0x00, 0x00, 0x00 +.byte 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00 +.byte 0x0a, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.byte 0x05, 0x00, 0x03, 0x01, 0x08, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 +.byte 0x02, 0x00, 0x03, 0x03, 0x02, 0x00, 0x03, 0x04, 0x02, 0x00, 0x03, 0x03, 0x02, 0x00, 0x03, 0x04 +.byte 0x02, 0x00, 0x06, 0x04, 0x0b, 0x00, 0x03, 0x01, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03 +.byte 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0b, 0x00, 0x04, 0x03, 0x0e, 0x00, 0x02, 0x01 +.byte 0x0e, 0x00, 0x02, 0x01, 0x0a, 0x00, 0x02, 0x01, 0x09, 0x00, 0x02, 0x02, 0x09, 0x00, 0x02, 0x02 +.byte 0x09, 0x00, 0x02, 0x02, 0x09, 0x00, 0x02, 0x02, 0x0a, 0x00, 0x02, 0x02, 0x0e, 0x00, 0x02, 0x02 +.byte 0x70, 0x6b, 0x73, 0x64, 0x69, 0x72, 0x30, 0x00 + +.global gGroundEffectTypes +gGroundEffectTypes: @ 811EE38 +@ replacing .incbin "baserom.gba", 0x11EE38, 0x103B8 +.byte 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x02, 0x00, 0x01, 0x01, 0x02, 0x00, 0x00, 0x00 +.byte 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 +.byte 0x03, 0x00, 0x01, 0x01 diff --git a/include/constants/ground_map.h b/include/constants/ground_map.h new file mode 100644 index 000000000..89c436ad2 --- /dev/null +++ b/include/constants/ground_map.h @@ -0,0 +1,236 @@ +#ifndef GUARD_CONSTANTS_GROUND_MAP_H +#define GUARD_CONSTANTS_GROUND_MAP_H + +enum { + MAP_SQUARE, + MAP_POKEMON_SQUARE, + MAP_WHISCASH_POND, + MAP_WHISCASH_POND_OPEN, + MAP_PELIPPER_POST_OFFICE, + MAP_PELIPPER_POST_OFFICE_INSIDE, + MAP_MAKUHITA_DOJO, + MAP_MAKUHITA_DOJO_INSIDE, + MAP_LUMINOUS_CAVE, + MAP_TEAM_BASE_PIKACHU_BASIC, + MAP_TEAM_BASE_PIKACHU_CONSTRUCTION, + MAP_TEAM_BASE_PIKACHU_FINAL, + MAP_TEAM_BASE_INSIDE_PIKACHU_BASIC, + MAP_TEAM_BASE_INSIDE_PIKACHU_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_PIKACHU_FINAL, + MAP_TEAM_BASE_MEOWTH_BASIC, + MAP_TEAM_BASE_MEOWTH_CONSTRUCTION, + MAP_TEAM_BASE_MEOWTH_FINAL, + MAP_TEAM_BASE_INSIDE_MEOWTH_BASIC, + MAP_TEAM_BASE_INSIDE_MEOWTH_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_MEOWTH_FINAL, + MAP_TEAM_BASE_EEVEE_BASIC, + MAP_TEAM_BASE_EEVEE_CONSTRUCTION, + MAP_TEAM_BASE_EEVEE_FINAL, + MAP_TEAM_BASE_INSIDE_EEVEE_BASIC, + MAP_TEAM_BASE_INSIDE_EEVEE_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_EEVEE_FINAL, + MAP_TEAM_BASE_SKITTY_BASIC, + MAP_TEAM_BASE_SKITTY_CONSTRUCTION, + MAP_TEAM_BASE_SKITTY_FINAL, + MAP_TEAM_BASE_INSIDE_SKITTY_BASIC, + MAP_TEAM_BASE_INSIDE_SKITTY_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_SKITTY_FINAL, + MAP_TEAM_BASE_SQUIRTLE_BASIC, + MAP_TEAM_BASE_SQUIRTLE_CONSTRUCTION, + MAP_TEAM_BASE_SQUIRTLE_FINAL, + MAP_TEAM_BASE_INSIDE_SQUIRTLE_BASIC, + MAP_TEAM_BASE_INSIDE_SQUIRTLE_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_SQUIRTLE_FINAL, + MAP_TEAM_BASE_TOTODILE_BASIC, + MAP_TEAM_BASE_TOTODILE_CONSTRUCTION, + MAP_TEAM_BASE_TOTODILE_FINAL, + MAP_TEAM_BASE_INSIDE_TOTODILE_BASIC, + MAP_TEAM_BASE_INSIDE_TOTODILE_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_TOTODILE_FINAL, + MAP_TEAM_BASE_MUDKIP_BASIC, + MAP_TEAM_BASE_MUDKIP_CONSTRUCTION, + MAP_TEAM_BASE_MUDKIP_FINAL, + MAP_TEAM_BASE_INSIDE_MUDKIP_BASIC, + MAP_TEAM_BASE_INSIDE_MUDKIP_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_MUDKIP_FINAL, + MAP_TEAM_BASE_PSYDUCK_BASIC, + MAP_TEAM_BASE_PSYDUCK_CONSTRUCTION, + MAP_TEAM_BASE_PSYDUCK_FINAL, + MAP_TEAM_BASE_INSIDE_PSYDUCK_BASIC, + MAP_TEAM_BASE_INSIDE_PSYDUCK_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_PSYDUCK_FINAL, + MAP_TEAM_BASE_CHARMANDER_BASIC, + MAP_TEAM_BASE_CHARMANDER_CONSTRUCTION, + MAP_TEAM_BASE_CHARMANDER_FINAL, + MAP_TEAM_BASE_INSIDE_CHARMANDER_BASIC, + MAP_TEAM_BASE_INSIDE_CHARMANDER_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_CHARMANDER_FINAL, + MAP_TEAM_BASE_TORCHIC_BASIC, + MAP_TEAM_BASE_TORCHIC_CONSTRUCTION, + MAP_TEAM_BASE_TORCHIC_FINAL, + MAP_TEAM_BASE_INSIDE_TORCHIC_BASIC, + MAP_TEAM_BASE_INSIDE_TORCHIC_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_TORCHIC_FINAL, + MAP_TEAM_BASE_CYNDAQUIL_BASIC, + MAP_TEAM_BASE_CYNDAQUIL_CONSTRUCTION, + MAP_TEAM_BASE_CYNDAQUIL_FINAL, + MAP_TEAM_BASE_INSIDE_CYNDAQUIL_BASIC, + MAP_TEAM_BASE_INSIDE_CYNDAQUIL_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_CYNDAQUIL_FINAL, + MAP_TEAM_BASE_CUBONE_BASIC, + MAP_TEAM_BASE_CUBONE_CONSTRUCTION, + MAP_TEAM_BASE_CUBONE_FINAL, + MAP_TEAM_BASE_INSIDE_CUBONE_BASIC, + MAP_TEAM_BASE_INSIDE_CUBONE_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_CUBONE_FINAL, + MAP_TEAM_BASE_MACHOP_BASIC, + MAP_TEAM_BASE_MACHOP_CONSTRUCTION, + MAP_TEAM_BASE_MACHOP_FINAL, + MAP_TEAM_BASE_INSIDE_MACHOP_BASIC, + MAP_TEAM_BASE_INSIDE_MACHOP_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_MACHOP_FINAL, + MAP_TEAM_BASE_BULBASAUR_BASIC, + MAP_TEAM_BASE_BULBASAUR_CONSTRUCTION, + MAP_TEAM_BASE_BULBASAUR_FINAL, + MAP_TEAM_BASE_INSIDE_BULBASAUR_BASIC, + MAP_TEAM_BASE_INSIDE_BULBASAUR_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_BULBASAUR_FINAL, + MAP_TEAM_BASE_CHIKORITA_BASIC, + MAP_TEAM_BASE_CHIKORITA_CONSTRUCTION, + MAP_TEAM_BASE_CHIKORITA_FINAL, + MAP_TEAM_BASE_INSIDE_CHIKORITA_BASIC, + MAP_TEAM_BASE_INSIDE_CHIKORITA_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_CHIKORITA_FINAL, + MAP_TEAM_BASE_TREECKO_BASIC, + MAP_TEAM_BASE_TREECKO_CONSTRUCTION, + MAP_TEAM_BASE_TREECKO_FINAL, + MAP_TEAM_BASE_INSIDE_TREECKO_BASIC, + MAP_TEAM_BASE_INSIDE_TREECKO_CONSTRUCTION, + MAP_TEAM_BASE_INSIDE_TREECKO_FINAL, + MAP_FRIEND_AREA_BOUNTIFUL_SEA, + MAP_FRIEND_AREA_TREASURE_SEA, + MAP_FRIEND_AREA_SERENE_SEA, + MAP_FRIEND_AREA_DEEP_SEA_FLOOR, + MAP_FRIEND_AREA_DEEP_SEA_CURRENT, + MAP_FRIEND_AREA_SEAFLOOR_CAVE, + MAP_FRIEND_AREA_SHALLOW_BEACH, + MAP_FRIEND_AREA_MT_DEEPGREEN, + MAP_FRIEND_AREA_MT_CLEFT, + MAP_FRIEND_AREA_MT_MOONVIEW, + MAP_FRIEND_AREA_RAINBOW_PEAK, + MAP_FRIEND_AREA_WILD_PLAINS, + MAP_FRIEND_AREA_BEAU_PLAINS, + MAP_FRIEND_AREA_SKY_BLUE_PLAINS, + MAP_FRIEND_AREA_SAFARI, + MAP_FRIEND_AREA_SCORCHED_PLAINS, + MAP_FRIEND_AREA_SACRED_FIELD, + MAP_FRIEND_AREA_MIST_RISE_FOREST, + MAP_FRIEND_AREA_FLYAWAY_FOREST, + MAP_FRIEND_AREA_OVERGROWN_FOREST, + MAP_FRIEND_AREA_ENERGETIC_FOREST, + MAP_FRIEND_AREA_MUSHROOM_FOREST, + MAP_FRIEND_AREA_HEALING_FOREST, + MAP_FRIEND_AREA_TRANSFORM_FOREST, + MAP_FRIEND_AREA_SECRETIVE_FOREST, + MAP_FRIEND_AREA_RUB_A_DUB_RIVER, + MAP_FRIEND_AREA_TADPOLE_POND, + MAP_FRIEND_AREA_TURTLESHELL_POND, + MAP_FRIEND_AREA_MYSTIC_LAKE, + MAP_FRIEND_AREA_WATERFALL_LAKE, + MAP_FRIEND_AREA_PEANUT_SWAMP, + MAP_FRIEND_AREA_POISON_SWAMP, + MAP_FRIEND_AREA_ECHO_CAVE, + MAP_FRIEND_AREA_CRYPTIC_CAVE, + MAP_FRIEND_AREA_DRAGON_CAVE, + MAP_FRIEND_AREA_BOULDER_CAVE, + MAP_FRIEND_AREA_JUNGLE, + MAP_FRIEND_AREA_DECREPIT_LAB, + MAP_FRIEND_AREA_MT_DISCIPLINE, + MAP_FRIEND_AREA_THUNDER_MEADOW, + MAP_FRIEND_AREA_POWER_PLANT, + MAP_FRIEND_AREA_CRATER, + MAP_FRIEND_AREA_FURNACE_DESERT, + MAP_FRIEND_AREA_AGED_CHAMBER_AN, + MAP_FRIEND_AREA_AGED_CHAMBER_O_EXCLAIM, + MAP_FRIEND_AREA_ANCIENT_RELIC, + MAP_FRIEND_AREA_DARKNESS_RIDGE, + MAP_FRIEND_AREA_FRIGID_CAVERN, + MAP_FRIEND_AREA_ICE_FLOE_BEACH, + MAP_FRIEND_AREA_VOLCANIC_PIT, + MAP_FRIEND_AREA_STRATOS_LOOKOUT, + MAP_FRIEND_AREA_RAVAGED_FIELD, + MAP_FRIEND_AREA_MAGNETIC_QUARRY, + MAP_FRIEND_AREA_LEGENDARY_ISLAND, + MAP_FRIEND_AREA_SOUTHERN_ISLAND, + MAP_FRIEND_AREA_ENCLOSED_ISLAND, + MAP_FRIEND_AREA_FINAL_ISLAND, + MAP_PERSONALITY_TEST_CYAN, + MAP_PERSONALITY_TEST_PURPLE, + MAP_FUGITIVES_FISSURE, + MAP_FUGITIVES_FIRE, + MAP_FUGITIVES_LAPIS_CAVE, + MAP_FUGITIVES_VOLCANO, + MAP_FUGITIVES_SNOW_ROAD, + MAP_FUGITIVES_SNOW_FOREST, + MAP_FUGITIVES_BLIZZARD_ROAD, + MAP_SUMMIT_SUNSET, + MAP_SKY_TOWER, + MAP_COMET, + MAP_NIGHTMARE, + MAP_NIGHT_SKY_1, + MAP_NIGHT_SKY_2, + MAP_THE_END, + MAP_TINY_WOODS_ENTRY, + MAP_TINY_WOODS_END, + MAP_THUNDERWAVE_CAVE_ENTRY, + MAP_THUNDERWAVE_CAVE_END, + MAP_MT_STEEL_ENTRY, + MAP_MT_STEEL_END, + MAP_SINISTER_WOODS_ENTRY, + MAP_SINISTER_WOODS_END, + MAP_SILENT_CHASM_ENTRY, + MAP_SILENT_CHASM_END, + MAP_MT_THUNDER_ENTRY, + MAP_MT_THUNDER_MID, + MAP_MT_THUNDER_END, + MAP_GREAT_CANYON_ENTRY, + MAP_HILL_OF_THE_ANCIENTS, + MAP_LAPIS_CAVE_ENTRY, + MAP_LAPIS_CAVE_END, + MAP_MT_BLAZE_ENTRY, + MAP_MT_BLAZE_MID, + MAP_MT_BLAZE_END, + MAP_FROSTY_FOREST_ENTRY, + MAP_FROSTY_FOREST_MID, + MAP_FROSTY_FOREST_END, + MAP_MT_FREEZE_ENTRY, + MAP_MT_FREEZE_MID, + MAP_MT_FREEZE_END, + MAP_MAGMA_CAVERN_ENTRY, + MAP_MAGMA_CAVERN_MID, + MAP_MAGMA_CAVERN_END, + MAP_SKY_TOWER_ENTRY, + MAP_SKY_TOWER_MID, + MAP_SKY_TOWER_END, + MAP_D14, + MAP_D15, + MAP_D16, + MAP_D17, + MAP_D18, + MAP_D19, + MAP_D20, + MAP_D21, + MAP_D22, + MAP_D23, + MAP_D24, + MAP_D25, + MAP_PERSONALITY_TEST_MULTICOLOR, + MAP_TITLE_SCREEN, + MAP_INTRO, + MAP_LOGO_POKEMON_COMPANY, + MAP_LOGO_WARNING, + MAP_TEAM_BASE_WALL_MAP, + MAP_COUNT, +}; + +#endif // GUARD_CONSTANTS_GROUND_MAP_H diff --git a/include/global.h b/include/global.h index 8a74aad64..677e8883b 100644 --- a/include/global.h +++ b/include/global.h @@ -40,14 +40,14 @@ static inline s16 Self_s16(s16 a) } // Needed to match a couple of functions. -static inline void InlineStrcpy(u8 *dst, const u8 *src) +static inline u8 *InlineStrcpy(u8 *dst, const u8 *src) { - strcpy(dst, src); + return strcpy(dst, src); } -static inline void InlineStrncpy(u8 *dst, const u8 *src, s32 n) +static inline u8 *InlineStrncpy(u8 *dst, const u8 *src, s32 n) { - strncpy(dst, src, n); + return strncpy(dst, src, n); } static inline bool8 AreStringsDifferent(const u8 *str1, const u8 *str2) diff --git a/include/ground_main.h b/include/ground_main.h index e7a4612e6..dd88469b4 100644 --- a/include/ground_main.h +++ b/include/ground_main.h @@ -4,16 +4,6 @@ #include "structs/str_pokemon.h" #include "structs/str_wonder_mail.h" -// size: 0xC -typedef struct GroundConversionStruct -{ - s16 unk0; - s16 unk2; - s16 unk4; - s16 unk6; - /* 0x8 */ u8 *text; -} GroundConversionStruct; - bool8 sub_8098F88(void); const char *GetCurrentGroundPlaceName(void); @@ -25,6 +15,4 @@ bool8 sub_8098D80(u32 speed); bool8 sub_80992E0(s16 *param_1, s16 *param_2); bool8 sub_8099328(u8 *); -extern GroundConversionStruct gGroundConversion_811BAF4[10]; - #endif // GUARD_GROUND_MAIN_H diff --git a/include/ground_map_conversion_table.h b/include/ground_map_conversion_table.h new file mode 100644 index 000000000..b6e09c035 --- /dev/null +++ b/include/ground_map_conversion_table.h @@ -0,0 +1,18 @@ +#ifndef GUARD_GROUND_MAP_CONVERSION_TABLE_H +#define GUARD_GROUND_MAP_CONVERSION_TABLE_H + +#include "constants/ground_map.h" + +// size: 0xC +typedef struct GroundConversionStruct +{ + s16 unk0; + s16 groundPlaceId; + s16 mapFileTableId; + s16 unk6; + /* 0x8 */ const u8 *text; +} GroundConversionStruct; + +extern const GroundConversionStruct gGroundMapConversionTable[MAP_COUNT + 1]; + +#endif // GUARD_GROUND_MAP_CONVERSION_TABLE_H diff --git a/include/ground_place.h b/include/ground_place.h index 6cd32cc9e..2f4a381ac 100644 --- a/include/ground_place.h +++ b/include/ground_place.h @@ -1,6 +1,49 @@ #ifndef GUARD_GROUND_PLACE_H #define GUARD_GROUND_PLACE_H +// Duplicate entries are most likely outdoors vs indoors. To verify which are which +enum GroundPlace { + GROUND_PLACE_SQUARE, + GROUND_PLACE_SQUARE_2, + GROUND_PLACE_POKEMON_SQUARE, + GROUND_PLACE_WHISCASH_POND, + GROUND_PLACE_PELIPPER_POST_OFFICE, + GROUND_PLACE_PELIPPER_POST_OFFICE_INSIDE, + GROUND_PLACE_MAKUHITA_DOJO, + GROUND_PLACE_MAKUHITA_DOJO_INSIDE, // unused + GROUND_PLACE_LUMINOUS_CAVE, + GROUND_PLACE_FRIEND_AREAS, + GROUND_PLACE_TEAM_BASE, + GROUND_PLACE_TEAM_BASE_INSIDE, + GROUND_PLACE_DUNGEON, + GROUND_PLACE_TINY_WOODS, + GROUND_PLACE_THUNDERWAVE_CAVE, + GROUND_PLACE_MT_STEEL, + GROUND_PLACE_SINISTER_WOODS, + GROUND_PLACE_SILENT_CHASM, + GROUND_PLACE_MT_THUNDER, + GROUND_PLACE_MT_THUNDER_MID, + GROUND_PLACE_GREAT_CANYON, + GROUND_PLACE_HILL_OF_THE_ANCIENTS, + GROUND_PLACE_LAPIS_CAVE, + GROUND_PLACE_LAPIS_CAVE_EXIT, + GROUND_PLACE_MT_BLAZE, + GROUND_PLACE_MT_BLAZE_MID, + GROUND_PLACE_FROSTY_FOREST, + GROUND_PLACE_FROSTY_CLEARING, + GROUND_PLACE_MT_FREEZE, + GROUND_PLACE_MT_FREEZE_MID, + GROUND_PLACE_MAGMA_CAVERN, + GROUND_PLACE_MAGMA_CAVERN_MID, + GROUND_PLACE_SKY_TOWER, + GROUND_PLACE_SKY_TOWER_MID, + GROUND_PLACE_WESTERN_CAVE, + GROUND_PLACE_DIRECTION, // Similarly to GROUND_PLACE_SCENE, used in the conversion table for bgs which are not maps. + GROUND_PLACE_NEW_GAME, + GROUND_PLACE_SCENE, // For all maps that aren't really maps, for example warning screen, personality test background, etc. + GROUND_PLACE_INVALIDITY, // Probably marks the last entry, not used in-game. +}; + const u8 *GetGroundPlaceName(s16 id); #endif // GUARD_GROUND_PLACE_H diff --git a/include/structs/str_81188F0.h b/include/structs/str_81188F0.h index 253eb1061..c6d36bfa6 100644 --- a/include/structs/str_81188F0.h +++ b/include/structs/str_81188F0.h @@ -4,12 +4,13 @@ // size: 0x1C struct unkStruct_81188F0 { - /* 0x0 */ const u8 *text1; - /* 0x4 */ const u8 *text2; - /* 0x8 */ const u8 *text3; - /* 0xC */ const u8 *text4[2]; - /* 0x14 */ u32 unk2; - /* 0x18 */ u32 unk3; + /* 0x0 */ const u8 *fileName1; + /* 0x4 */ const u8 *fileName2; + /* 0x8 */ const u8 *fileName3; + /* 0xC */ const u8 *fileName4[2]; + // Unused, always NULL + /* 0x14 */ const u8 *unusedFileName5; + /* 0x18 */ const u8 *unusedFileName6; }; extern const struct unkStruct_81188F0 gUnknown_81188F0[]; diff --git a/ld_script.ld b/ld_script.ld index fda8604f9..cdc0ba210 100755 --- a/ld_script.ld +++ b/ld_script.ld @@ -737,6 +737,8 @@ SECTIONS { src/ground_event.o(.rodata); src/unk_dungeon_load_maybe.o(.rodata); data/data_8115F5C_3.o(.rodata); + src/ground_map_conversion_table.o(.rodata); + data/data_8115F5C_3_.o(.rodata); src/ground_event_data.o(.rodata); src/friend_area_dialogue.o(.rodata); src/ground_data_t00p01_station.o(.rodata); diff --git a/src/debug_field_map_window.c b/src/debug_field_map_window.c index 18c586f38..5a0eb06ea 100644 --- a/src/debug_field_map_window.c +++ b/src/debug_field_map_window.c @@ -10,6 +10,7 @@ #include "menu_input.h" #include "text_1.h" #include "text_2.h" +#include "ground_map_conversion_table.h" #include "structs/str_81188F0.h" EWRAM_INIT static struct MenuHeaderWindow *sDebugWindow = {NULL}; @@ -114,11 +115,8 @@ static void ShowWindowsWithHeader(void) static void PrintCurrentPageText(void) { - GroundConversionStruct *temp; - const struct unkStruct_81188F0 *temp2; s32 x, y, pageNum; - s16 index; - int counter; + s32 i; CallPrepareTextbox_8008C54(sDebugWindow->m.menuWinId); sub_80073B8(sDebugWindow->m.menuWinId); @@ -129,18 +127,18 @@ static void PrintCurrentPageText(void) PrintNumOnWindow(x, 0, pageNum, 2, 7, sDebugWindow->m.menuWinId); // This line has no real effect. It's a magic 'fakematch' to fool agb into generating the same asm. It can be removed if you don't care about matching. - if (x) { counter = 0; } + if (x) { i = 0; } - for (counter = 0; counter < sDebugWindow->m.input.currPageEntries; counter++) { - index = (sDebugWindow->m.input.currPage * sDebugWindow->m.input.entriesPerPage) + counter; - temp = &gGroundConversion_811BAF4[index]; - temp2 = &gUnknown_81188F0[temp->unk4]; + for (i = 0; i < sDebugWindow->m.input.currPageEntries; i++) { + s16 index = (sDebugWindow->m.input.currPage * sDebugWindow->m.input.entriesPerPage) + i; + const GroundConversionStruct *mapConversionPtr = &gGroundMapConversionTable[index]; + const struct unkStruct_81188F0 *mapFilesPtr = &gUnknown_81188F0[mapConversionPtr->mapFileTableId]; - y = GetMenuEntryYCoord(&sDebugWindow->m.input, counter); - PrintStringOnWindow(8, y, temp2->text1, sDebugWindow->m.menuWinId, 0); + y = GetMenuEntryYCoord(&sDebugWindow->m.input, i); + PrintStringOnWindow(8, y, mapFilesPtr->fileName1, sDebugWindow->m.menuWinId, 0); - y = GetMenuEntryYCoord(&sDebugWindow->m.input, counter); - PrintStringOnWindow(62, y, temp->text, sDebugWindow->m.menuWinId, 0); + y = GetMenuEntryYCoord(&sDebugWindow->m.input, i); + PrintStringOnWindow(62, y, mapConversionPtr->text, sDebugWindow->m.menuWinId, 0); } sub_80073E0(sDebugWindow->m.menuWinId); diff --git a/src/ground_bg.c b/src/ground_bg.c index 9d8969e22..08be54582 100644 --- a/src/ground_bg.c +++ b/src/ground_bg.c @@ -245,9 +245,9 @@ void sub_80A2FBC(GroundBg *groundBg, s32 a1_) CloseOpenedFiles(groundBg); groundBg->unk444 = a1; dataPtr = &gUnknown_81188F0[a1]; - groundBg->unk430 = OpenFileAndGetFileDataPtr(dataPtr->text1, &gGroundFileArchive); - groundBg->unk434 = OpenFileAndGetFileDataPtr(dataPtr->text2, &gGroundFileArchive); - groundBg->unk438 = OpenFileAndGetFileDataPtr(dataPtr->text3, &gGroundFileArchive); + groundBg->unk430 = OpenFileAndGetFileDataPtr(dataPtr->fileName1, &gGroundFileArchive); + groundBg->unk434 = OpenFileAndGetFileDataPtr(dataPtr->fileName2, &gGroundFileArchive); + groundBg->unk438 = OpenFileAndGetFileDataPtr(dataPtr->fileName3, &gGroundFileArchive); file_430 = groundBg->unk430->data; file_434 = groundBg->unk434->data; file_438 = groundBg->unk438->data; @@ -344,11 +344,11 @@ void sub_80A2FBC(GroundBg *groundBg, s32 a1_) vramPtr = (void *)(VRAM + 0x8000 + (groundBg->unk52C.unk4 + mapPtr_454->unk4) * 32); for (id = 0; id < 2; id++) { SubStruct_3E0 *sub3E0 = &groundBg->unk3E0[id]; - if (dataPtr->text4[id] != NULL) { + if (dataPtr->fileName4[id] != NULL) { const struct UnkFileStruct *fileStr; const void *r1, *r0; - sub3E0->unk8 = OpenFileAndGetFileDataPtr(dataPtr->text4[id], &gGroundFileArchive); + sub3E0->unk8 = OpenFileAndGetFileDataPtr(dataPtr->fileName4[id], &gGroundFileArchive); sub3E0->unk0 = 1; sub3E0->unk1 = 1; fileStr = sub3E0->unk8->data; @@ -380,9 +380,9 @@ void sub_80A2FBC(GroundBg *groundBg, s32 a1_) } } for (; id < 4; id++) { - if (dataPtr->text4[id] != NULL) { + if (dataPtr->fileName4[id] != NULL) { s32 n; - OpenedFile *file = OpenFileAndGetFileDataPtr(dataPtr->text4[id], &gGroundFileArchive); + OpenedFile *file = OpenFileAndGetFileDataPtr(dataPtr->fileName4[id], &gGroundFileArchive); const struct UnkFileStruct *fileStr = file->data; u16 *r1 = (void *) fileStr->unk4; r1 += fileStr->unk2 * 2; @@ -426,9 +426,9 @@ void sub_80A3440(GroundBg *groundBg, s32 a1_, DungeonLocation *dungLoc, s32 a3) CloseOpenedFiles(groundBg); groundBg->unk444 = a1; dataPtr = &gUnknown_81188F0[a1]; - groundBg->unk430 = OpenFileAndGetFileDataPtr(dataPtr->text1, &gGroundFileArchive); - groundBg->unk434 = OpenFileAndGetFileDataPtr(dataPtr->text2, &gGroundFileArchive); - groundBg->unk438 = OpenFileAndGetFileDataPtr(dataPtr->text3, &gGroundFileArchive); + groundBg->unk430 = OpenFileAndGetFileDataPtr(dataPtr->fileName1, &gGroundFileArchive); + groundBg->unk434 = OpenFileAndGetFileDataPtr(dataPtr->fileName2, &gGroundFileArchive); + groundBg->unk438 = OpenFileAndGetFileDataPtr(dataPtr->fileName3, &gGroundFileArchive); file_430 = groundBg->unk430->data; file_434 = groundBg->unk434->data; file_438 = groundBg->unk438->data; diff --git a/src/ground_main.c b/src/ground_main.c index 2e9c0a383..7e2217773 100644 --- a/src/ground_main.c +++ b/src/ground_main.c @@ -17,6 +17,7 @@ #include "play_time.h" #include "pokemon.h" #include "text_util.h" +#include "ground_map_conversion_table.h" EWRAM_DATA u32 gUnknown_20398A8 = {0}; EWRAM_DATA s32 gUnknown_20398AC = {0}; @@ -740,7 +741,7 @@ UNUSED static const char *sub_80990B8(void) { s16 index = sub_8098FCC(0xB); if (index != -1) { - return GetGroundPlaceName(gGroundConversion_811BAF4[index].unk2); + return GetGroundPlaceName(gGroundMapConversionTable[index].groundPlaceId); } else { return GetCurrentGroundPlaceName(); diff --git a/src/ground_map.c b/src/ground_map.c index d34f9aa50..d3380ba19 100644 --- a/src/ground_map.c +++ b/src/ground_map.c @@ -7,6 +7,7 @@ #include "ground_map_2.h" #include "ground_script.h" #include "memory.h" +#include "ground_map_conversion_table.h" IWRAM_INIT GroundMapAction *gGroundMapAction = {NULL}; IWRAM_INIT GroundBg *gGroundMapDungeon_3001B70 = {NULL}; @@ -178,8 +179,8 @@ bool8 GroundMapNotifyAll(s16 param_1) bool8 sub_80A4D48(s16 index) { if (index == -1) return TRUE; - if (gGroundConversion_811BAF4[index].unk0 == 5) return FALSE; - if (gGroundConversion_811BAF4[index].unk0 != 8) return TRUE; + if (gGroundMapConversionTable[index].unk0 == 5) return FALSE; + if (gGroundMapConversionTable[index].unk0 != 8) return TRUE; return FALSE; } diff --git a/src/ground_map_conversion_table.c b/src/ground_map_conversion_table.c new file mode 100644 index 000000000..7d2e2c18f --- /dev/null +++ b/src/ground_map_conversion_table.c @@ -0,0 +1,1611 @@ +#include "global.h" +#include "globaldata.h" +#include "ground_map_conversion_table.h" +#include "ground_place.h" +#include "constants/ground_map.h" + +const GroundConversionStruct gGroundMapConversionTable[MAP_COUNT + 1] = { + [MAP_SQUARE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_SQUARE, + .mapFileTableId = 0, + .unk6 = 9, + .text = _("__ground_amd_conversion_00000"), + }, + [MAP_POKEMON_SQUARE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_POKEMON_SQUARE, + .mapFileTableId = 1, + .unk6 = 9, + .text = _("__ground_amd_conversion_00001"), + }, + [MAP_WHISCASH_POND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_WHISCASH_POND, + .mapFileTableId = 2, + .unk6 = 9, + .text = _("__ground_amd_conversion_00002"), + }, + [MAP_WHISCASH_POND_OPEN] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_WHISCASH_POND, + .mapFileTableId = 3, + .unk6 = 9, + .text = _("__ground_amd_conversion_00003"), + }, + [MAP_PELIPPER_POST_OFFICE] = { + .unk0 = 5, + .groundPlaceId = GROUND_PLACE_PELIPPER_POST_OFFICE, + .mapFileTableId = 4, + .unk6 = 9, + .text = _("__ground_amd_conversion_00004"), + }, + [MAP_PELIPPER_POST_OFFICE_INSIDE] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_PELIPPER_POST_OFFICE_INSIDE, + .mapFileTableId = 5, + .unk6 = -1, + .text = _("__ground_amd_conversion_00005"), + }, + [MAP_MAKUHITA_DOJO] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MAKUHITA_DOJO, + .mapFileTableId = 6, + .unk6 = 9, + .text = _("__ground_amd_conversion_00006"), + }, + [MAP_MAKUHITA_DOJO_INSIDE] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_MAKUHITA_DOJO_INSIDE, + .mapFileTableId = 7, + .unk6 = -1, + .text = _("__ground_amd_conversion_00007"), + }, + [MAP_LUMINOUS_CAVE] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_LUMINOUS_CAVE, + .mapFileTableId = 8, + .unk6 = 0, + .text = _("__ground_amd_conversion_00008"), + }, + [MAP_TEAM_BASE_PIKACHU_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 10, + .unk6 = 9, + .text = _("__ground_amd_conversion_00010"), + }, + [MAP_TEAM_BASE_PIKACHU_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 11, + .unk6 = 9, + .text = _("__ground_amd_conversion_00011"), + }, + [MAP_TEAM_BASE_PIKACHU_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 12, + .unk6 = 9, + .text = _("__ground_amd_conversion_00012"), + }, + [MAP_TEAM_BASE_INSIDE_PIKACHU_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 13, + .unk6 = -1, + .text = _("__ground_amd_conversion_00013"), + }, + [MAP_TEAM_BASE_INSIDE_PIKACHU_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 14, + .unk6 = -1, + .text = _("__ground_amd_conversion_00014"), + }, + [MAP_TEAM_BASE_INSIDE_PIKACHU_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 15, + .unk6 = -1, + .text = _("__ground_amd_conversion_00015"), + }, + [MAP_TEAM_BASE_MEOWTH_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 16, + .unk6 = 9, + .text = _("__ground_amd_conversion_00016"), + }, + [MAP_TEAM_BASE_MEOWTH_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 17, + .unk6 = 9, + .text = _("__ground_amd_conversion_00017"), + }, + [MAP_TEAM_BASE_MEOWTH_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 18, + .unk6 = 9, + .text = _("__ground_amd_conversion_00018"), + }, + [MAP_TEAM_BASE_INSIDE_MEOWTH_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 19, + .unk6 = -1, + .text = _("__ground_amd_conversion_00019"), + }, + [MAP_TEAM_BASE_INSIDE_MEOWTH_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 20, + .unk6 = -1, + .text = _("__ground_amd_conversion_00020"), + }, + [MAP_TEAM_BASE_INSIDE_MEOWTH_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 21, + .unk6 = -1, + .text = _("__ground_amd_conversion_00021"), + }, + [MAP_TEAM_BASE_EEVEE_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 22, + .unk6 = 9, + .text = _("__ground_amd_conversion_00022"), + }, + [MAP_TEAM_BASE_EEVEE_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 23, + .unk6 = 9, + .text = _("__ground_amd_conversion_00023"), + }, + [MAP_TEAM_BASE_EEVEE_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 24, + .unk6 = 9, + .text = _("__ground_amd_conversion_00024"), + }, + [MAP_TEAM_BASE_INSIDE_EEVEE_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 25, + .unk6 = -1, + .text = _("__ground_amd_conversion_00025"), + }, + [MAP_TEAM_BASE_INSIDE_EEVEE_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 26, + .unk6 = -1, + .text = _("__ground_amd_conversion_00026"), + }, + [MAP_TEAM_BASE_INSIDE_EEVEE_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 27, + .unk6 = -1, + .text = _("__ground_amd_conversion_00027"), + }, + [MAP_TEAM_BASE_SKITTY_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 28, + .unk6 = 9, + .text = _("__ground_amd_conversion_00028"), + }, + [MAP_TEAM_BASE_SKITTY_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 29, + .unk6 = 9, + .text = _("__ground_amd_conversion_00029"), + }, + [MAP_TEAM_BASE_SKITTY_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 30, + .unk6 = 9, + .text = _("__ground_amd_conversion_00030"), + }, + [MAP_TEAM_BASE_INSIDE_SKITTY_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 31, + .unk6 = -1, + .text = _("__ground_amd_conversion_00031"), + }, + [MAP_TEAM_BASE_INSIDE_SKITTY_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 32, + .unk6 = -1, + .text = _("__ground_amd_conversion_00032"), + }, + [MAP_TEAM_BASE_INSIDE_SKITTY_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 33, + .unk6 = -1, + .text = _("__ground_amd_conversion_00033"), + }, + [MAP_TEAM_BASE_SQUIRTLE_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 34, + .unk6 = 9, + .text = _("__ground_amd_conversion_00034"), + }, + [MAP_TEAM_BASE_SQUIRTLE_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 35, + .unk6 = 9, + .text = _("__ground_amd_conversion_00035"), + }, + [MAP_TEAM_BASE_SQUIRTLE_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 36, + .unk6 = 9, + .text = _("__ground_amd_conversion_00036"), + }, + [MAP_TEAM_BASE_INSIDE_SQUIRTLE_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 37, + .unk6 = -1, + .text = _("__ground_amd_conversion_00037"), + }, + [MAP_TEAM_BASE_INSIDE_SQUIRTLE_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 38, + .unk6 = -1, + .text = _("__ground_amd_conversion_00038"), + }, + [MAP_TEAM_BASE_INSIDE_SQUIRTLE_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 39, + .unk6 = -1, + .text = _("__ground_amd_conversion_00039"), + }, + [MAP_TEAM_BASE_TOTODILE_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 40, + .unk6 = 9, + .text = _("__ground_amd_conversion_00040"), + }, + [MAP_TEAM_BASE_TOTODILE_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 41, + .unk6 = 9, + .text = _("__ground_amd_conversion_00041"), + }, + [MAP_TEAM_BASE_TOTODILE_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 42, + .unk6 = 9, + .text = _("__ground_amd_conversion_00042"), + }, + [MAP_TEAM_BASE_INSIDE_TOTODILE_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 43, + .unk6 = -1, + .text = _("__ground_amd_conversion_00043"), + }, + [MAP_TEAM_BASE_INSIDE_TOTODILE_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 44, + .unk6 = -1, + .text = _("__ground_amd_conversion_00044"), + }, + [MAP_TEAM_BASE_INSIDE_TOTODILE_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 45, + .unk6 = -1, + .text = _("__ground_amd_conversion_00045"), + }, + [MAP_TEAM_BASE_MUDKIP_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 46, + .unk6 = 9, + .text = _("__ground_amd_conversion_00046"), + }, + [MAP_TEAM_BASE_MUDKIP_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 47, + .unk6 = 9, + .text = _("__ground_amd_conversion_00047"), + }, + [MAP_TEAM_BASE_MUDKIP_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 48, + .unk6 = 9, + .text = _("__ground_amd_conversion_00048"), + }, + [MAP_TEAM_BASE_INSIDE_MUDKIP_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 49, + .unk6 = -1, + .text = _("__ground_amd_conversion_00049"), + }, + [MAP_TEAM_BASE_INSIDE_MUDKIP_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 50, + .unk6 = -1, + .text = _("__ground_amd_conversion_00050"), + }, + [MAP_TEAM_BASE_INSIDE_MUDKIP_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 51, + .unk6 = -1, + .text = _("__ground_amd_conversion_00051"), + }, + [MAP_TEAM_BASE_PSYDUCK_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 52, + .unk6 = 9, + .text = _("__ground_amd_conversion_00052"), + }, + [MAP_TEAM_BASE_PSYDUCK_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 53, + .unk6 = 9, + .text = _("__ground_amd_conversion_00053"), + }, + [MAP_TEAM_BASE_PSYDUCK_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 54, + .unk6 = 9, + .text = _("__ground_amd_conversion_00054"), + }, + [MAP_TEAM_BASE_INSIDE_PSYDUCK_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 55, + .unk6 = -1, + .text = _("__ground_amd_conversion_00055"), + }, + [MAP_TEAM_BASE_INSIDE_PSYDUCK_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 56, + .unk6 = -1, + .text = _("__ground_amd_conversion_00056"), + }, + [MAP_TEAM_BASE_INSIDE_PSYDUCK_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 57, + .unk6 = -1, + .text = _("__ground_amd_conversion_00057"), + }, + [MAP_TEAM_BASE_CHARMANDER_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 58, + .unk6 = 9, + .text = _("__ground_amd_conversion_00058"), + }, + [MAP_TEAM_BASE_CHARMANDER_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 59, + .unk6 = 9, + .text = _("__ground_amd_conversion_00059"), + }, + [MAP_TEAM_BASE_CHARMANDER_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 60, + .unk6 = 9, + .text = _("__ground_amd_conversion_00060"), + }, + [MAP_TEAM_BASE_INSIDE_CHARMANDER_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 61, + .unk6 = -1, + .text = _("__ground_amd_conversion_00061"), + }, + [MAP_TEAM_BASE_INSIDE_CHARMANDER_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 62, + .unk6 = -1, + .text = _("__ground_amd_conversion_00062"), + }, + [MAP_TEAM_BASE_INSIDE_CHARMANDER_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 63, + .unk6 = -1, + .text = _("__ground_amd_conversion_00063"), + }, + [MAP_TEAM_BASE_TORCHIC_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 64, + .unk6 = 9, + .text = _("__ground_amd_conversion_00064"), + }, + [MAP_TEAM_BASE_TORCHIC_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 65, + .unk6 = 9, + .text = _("__ground_amd_conversion_00065"), + }, + [MAP_TEAM_BASE_TORCHIC_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 66, + .unk6 = 9, + .text = _("__ground_amd_conversion_00066"), + }, + [MAP_TEAM_BASE_INSIDE_TORCHIC_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 67, + .unk6 = -1, + .text = _("__ground_amd_conversion_00067"), + }, + [MAP_TEAM_BASE_INSIDE_TORCHIC_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 68, + .unk6 = -1, + .text = _("__ground_amd_conversion_00068"), + }, + [MAP_TEAM_BASE_INSIDE_TORCHIC_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 69, + .unk6 = -1, + .text = _("__ground_amd_conversion_00069"), + }, + [MAP_TEAM_BASE_CYNDAQUIL_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 70, + .unk6 = 9, + .text = _("__ground_amd_conversion_00070"), + }, + [MAP_TEAM_BASE_CYNDAQUIL_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 71, + .unk6 = 9, + .text = _("__ground_amd_conversion_00071"), + }, + [MAP_TEAM_BASE_CYNDAQUIL_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 72, + .unk6 = 9, + .text = _("__ground_amd_conversion_00072"), + }, + [MAP_TEAM_BASE_INSIDE_CYNDAQUIL_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 73, + .unk6 = -1, + .text = _("__ground_amd_conversion_00073"), + }, + [MAP_TEAM_BASE_INSIDE_CYNDAQUIL_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 74, + .unk6 = -1, + .text = _("__ground_amd_conversion_00074"), + }, + [MAP_TEAM_BASE_INSIDE_CYNDAQUIL_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 75, + .unk6 = -1, + .text = _("__ground_amd_conversion_00075"), + }, + [MAP_TEAM_BASE_CUBONE_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 76, + .unk6 = 9, + .text = _("__ground_amd_conversion_00076"), + }, + [MAP_TEAM_BASE_CUBONE_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 77, + .unk6 = 9, + .text = _("__ground_amd_conversion_00077"), + }, + [MAP_TEAM_BASE_CUBONE_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 78, + .unk6 = 9, + .text = _("__ground_amd_conversion_00078"), + }, + [MAP_TEAM_BASE_INSIDE_CUBONE_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 79, + .unk6 = -1, + .text = _("__ground_amd_conversion_00079"), + }, + [MAP_TEAM_BASE_INSIDE_CUBONE_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 80, + .unk6 = -1, + .text = _("__ground_amd_conversion_00080"), + }, + [MAP_TEAM_BASE_INSIDE_CUBONE_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 81, + .unk6 = -1, + .text = _("__ground_amd_conversion_00081"), + }, + [MAP_TEAM_BASE_MACHOP_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 82, + .unk6 = 9, + .text = _("__ground_amd_conversion_00082"), + }, + [MAP_TEAM_BASE_MACHOP_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 83, + .unk6 = 9, + .text = _("__ground_amd_conversion_00083"), + }, + [MAP_TEAM_BASE_MACHOP_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 84, + .unk6 = 9, + .text = _("__ground_amd_conversion_00084"), + }, + [MAP_TEAM_BASE_INSIDE_MACHOP_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 85, + .unk6 = -1, + .text = _("__ground_amd_conversion_00085"), + }, + [MAP_TEAM_BASE_INSIDE_MACHOP_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 86, + .unk6 = -1, + .text = _("__ground_amd_conversion_00086"), + }, + [MAP_TEAM_BASE_INSIDE_MACHOP_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 87, + .unk6 = -1, + .text = _("__ground_amd_conversion_00087"), + }, + [MAP_TEAM_BASE_BULBASAUR_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 88, + .unk6 = 9, + .text = _("__ground_amd_conversion_00088"), + }, + [MAP_TEAM_BASE_BULBASAUR_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 89, + .unk6 = 9, + .text = _("__ground_amd_conversion_00089"), + }, + [MAP_TEAM_BASE_BULBASAUR_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 90, + .unk6 = 9, + .text = _("__ground_amd_conversion_00090"), + }, + [MAP_TEAM_BASE_INSIDE_BULBASAUR_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 91, + .unk6 = -1, + .text = _("__ground_amd_conversion_00091"), + }, + [MAP_TEAM_BASE_INSIDE_BULBASAUR_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 92, + .unk6 = -1, + .text = _("__ground_amd_conversion_00092"), + }, + [MAP_TEAM_BASE_INSIDE_BULBASAUR_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 93, + .unk6 = -1, + .text = _("__ground_amd_conversion_00093"), + }, + [MAP_TEAM_BASE_CHIKORITA_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 94, + .unk6 = 9, + .text = _("__ground_amd_conversion_00094"), + }, + [MAP_TEAM_BASE_CHIKORITA_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 95, + .unk6 = 9, + .text = _("__ground_amd_conversion_00095"), + }, + [MAP_TEAM_BASE_CHIKORITA_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 96, + .unk6 = 9, + .text = _("__ground_amd_conversion_00096"), + }, + [MAP_TEAM_BASE_INSIDE_CHIKORITA_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 97, + .unk6 = -1, + .text = _("__ground_amd_conversion_00097"), + }, + [MAP_TEAM_BASE_INSIDE_CHIKORITA_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 98, + .unk6 = -1, + .text = _("__ground_amd_conversion_00098"), + }, + [MAP_TEAM_BASE_INSIDE_CHIKORITA_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 99, + .unk6 = -1, + .text = _("__ground_amd_conversion_00099"), + }, + [MAP_TEAM_BASE_TREECKO_BASIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 100, + .unk6 = 9, + .text = _("__ground_amd_conversion_00100"), + }, + [MAP_TEAM_BASE_TREECKO_CONSTRUCTION] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 101, + .unk6 = 9, + .text = _("__ground_amd_conversion_00101"), + }, + [MAP_TEAM_BASE_TREECKO_FINAL] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TEAM_BASE, + .mapFileTableId = 102, + .unk6 = 9, + .text = _("__ground_amd_conversion_00102"), + }, + [MAP_TEAM_BASE_INSIDE_TREECKO_BASIC] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 103, + .unk6 = -1, + .text = _("__ground_amd_conversion_00103"), + }, + [MAP_TEAM_BASE_INSIDE_TREECKO_CONSTRUCTION] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 104, + .unk6 = -1, + .text = _("__ground_amd_conversion_00104"), + }, + [MAP_TEAM_BASE_INSIDE_TREECKO_FINAL] = { + .unk0 = 2, + .groundPlaceId = GROUND_PLACE_TEAM_BASE_INSIDE, + .mapFileTableId = 105, + .unk6 = -1, + .text = _("__ground_amd_conversion_00105"), + }, + [MAP_FRIEND_AREA_BOUNTIFUL_SEA] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 106, + .unk6 = 1, + .text = _("__ground_amd_conversion_00106"), + }, + [MAP_FRIEND_AREA_TREASURE_SEA] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 108, + .unk6 = 14, + .text = _("__ground_amd_conversion_00108"), + }, + [MAP_FRIEND_AREA_SERENE_SEA] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 109, + .unk6 = -1, + .text = _("__ground_amd_conversion_00109"), + }, + [MAP_FRIEND_AREA_DEEP_SEA_FLOOR] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 110, + .unk6 = 2, + .text = _("__ground_amd_conversion_00110"), + }, + [MAP_FRIEND_AREA_DEEP_SEA_CURRENT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 112, + .unk6 = 3, + .text = _("__ground_amd_conversion_00112"), + }, + [MAP_FRIEND_AREA_SEAFLOOR_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 114, + .unk6 = 4, + .text = _("__ground_amd_conversion_00114"), + }, + [MAP_FRIEND_AREA_SHALLOW_BEACH] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 116, + .unk6 = -1, + .text = _("__ground_amd_conversion_00116"), + }, + [MAP_FRIEND_AREA_MT_DEEPGREEN] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 117, + .unk6 = -1, + .text = _("__ground_amd_conversion_00117"), + }, + [MAP_FRIEND_AREA_MT_CLEFT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 118, + .unk6 = -1, + .text = _("__ground_amd_conversion_00118"), + }, + [MAP_FRIEND_AREA_MT_MOONVIEW] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 119, + .unk6 = -1, + .text = _("__ground_amd_conversion_00119"), + }, + [MAP_FRIEND_AREA_RAINBOW_PEAK] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 120, + .unk6 = -1, + .text = _("__ground_amd_conversion_00120"), + }, + [MAP_FRIEND_AREA_WILD_PLAINS] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 121, + .unk6 = -1, + .text = _("__ground_amd_conversion_00121"), + }, + [MAP_FRIEND_AREA_BEAU_PLAINS] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 122, + .unk6 = -1, + .text = _("__ground_amd_conversion_00122"), + }, + [MAP_FRIEND_AREA_SKY_BLUE_PLAINS] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 123, + .unk6 = -1, + .text = _("__ground_amd_conversion_00123"), + }, + [MAP_FRIEND_AREA_SAFARI] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 124, + .unk6 = -1, + .text = _("__ground_amd_conversion_00124"), + }, + [MAP_FRIEND_AREA_SCORCHED_PLAINS] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 125, + .unk6 = 13, + .text = _("__ground_amd_conversion_00125"), + }, + [MAP_FRIEND_AREA_SACRED_FIELD] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 126, + .unk6 = -1, + .text = _("__ground_amd_conversion_00126"), + }, + [MAP_FRIEND_AREA_MIST_RISE_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 127, + .unk6 = -1, + .text = _("__ground_amd_conversion_00127"), + }, + [MAP_FRIEND_AREA_FLYAWAY_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 128, + .unk6 = -1, + .text = _("__ground_amd_conversion_00128"), + }, + [MAP_FRIEND_AREA_OVERGROWN_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 129, + .unk6 = -1, + .text = _("__ground_amd_conversion_00129"), + }, + [MAP_FRIEND_AREA_ENERGETIC_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 130, + .unk6 = 5, + .text = _("__ground_amd_conversion_00130"), + }, + [MAP_FRIEND_AREA_MUSHROOM_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 132, + .unk6 = -1, + .text = _("__ground_amd_conversion_00132"), + }, + [MAP_FRIEND_AREA_HEALING_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 133, + .unk6 = -1, + .text = _("__ground_amd_conversion_00133"), + }, + [MAP_FRIEND_AREA_TRANSFORM_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 134, + .unk6 = -1, + .text = _("__ground_amd_conversion_00134"), + }, + [MAP_FRIEND_AREA_SECRETIVE_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 135, + .unk6 = -1, + .text = _("__ground_amd_conversion_00135"), + }, + [MAP_FRIEND_AREA_RUB_A_DUB_RIVER] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 136, + .unk6 = -1, + .text = _("__ground_amd_conversion_00136"), + }, + [MAP_FRIEND_AREA_TADPOLE_POND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 137, + .unk6 = -1, + .text = _("__ground_amd_conversion_00137"), + }, + [MAP_FRIEND_AREA_TURTLESHELL_POND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 138, + .unk6 = -1, + .text = _("__ground_amd_conversion_00138"), + }, + [MAP_FRIEND_AREA_MYSTIC_LAKE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 139, + .unk6 = -1, + .text = _("__ground_amd_conversion_00139"), + }, + [MAP_FRIEND_AREA_WATERFALL_LAKE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 140, + .unk6 = -1, + .text = _("__ground_amd_conversion_00140"), + }, + [MAP_FRIEND_AREA_PEANUT_SWAMP] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 141, + .unk6 = -1, + .text = _("__ground_amd_conversion_00141"), + }, + [MAP_FRIEND_AREA_POISON_SWAMP] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 142, + .unk6 = -1, + .text = _("__ground_amd_conversion_00142"), + }, + [MAP_FRIEND_AREA_ECHO_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 143, + .unk6 = -1, + .text = _("__ground_amd_conversion_00143"), + }, + [MAP_FRIEND_AREA_CRYPTIC_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 144, + .unk6 = -1, + .text = _("__ground_amd_conversion_00144"), + }, + [MAP_FRIEND_AREA_DRAGON_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 145, + .unk6 = -1, + .text = _("__ground_amd_conversion_00145"), + }, + [MAP_FRIEND_AREA_BOULDER_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 146, + .unk6 = -1, + .text = _("__ground_amd_conversion_00146"), + }, + [MAP_FRIEND_AREA_JUNGLE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 147, + .unk6 = -1, + .text = _("__ground_amd_conversion_00147"), + }, + [MAP_FRIEND_AREA_DECREPIT_LAB] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 148, + .unk6 = -1, + .text = _("__ground_amd_conversion_00148"), + }, + [MAP_FRIEND_AREA_MT_DISCIPLINE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 149, + .unk6 = -1, + .text = _("__ground_amd_conversion_00149"), + }, + [MAP_FRIEND_AREA_THUNDER_MEADOW] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 150, + .unk6 = 6, + .text = _("__ground_amd_conversion_00150"), + }, + [MAP_FRIEND_AREA_POWER_PLANT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 152, + .unk6 = -1, + .text = _("__ground_amd_conversion_00152"), + }, + [MAP_FRIEND_AREA_CRATER] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 153, + .unk6 = 7, + .text = _("__ground_amd_conversion_00153"), + }, + [MAP_FRIEND_AREA_FURNACE_DESERT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 155, + .unk6 = 14, + .text = _("__ground_amd_conversion_00155"), + }, + [MAP_FRIEND_AREA_AGED_CHAMBER_AN] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 156, + .unk6 = -1, + .text = _("__ground_amd_conversion_00156"), + }, + [MAP_FRIEND_AREA_AGED_CHAMBER_O_EXCLAIM] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 157, + .unk6 = -1, + .text = _("__ground_amd_conversion_00157"), + }, + [MAP_FRIEND_AREA_ANCIENT_RELIC] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 158, + .unk6 = -1, + .text = _("__ground_amd_conversion_00158"), + }, + [MAP_FRIEND_AREA_DARKNESS_RIDGE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 159, + .unk6 = -1, + .text = _("__ground_amd_conversion_00159"), + }, + [MAP_FRIEND_AREA_FRIGID_CAVERN] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 160, + .unk6 = 10, + .text = _("__ground_amd_conversion_00160"), + }, + [MAP_FRIEND_AREA_ICE_FLOE_BEACH] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 161, + .unk6 = 12, + .text = _("__ground_amd_conversion_00161"), + }, + [MAP_FRIEND_AREA_VOLCANIC_PIT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 162, + .unk6 = 13, + .text = _("__ground_amd_conversion_00162"), + }, + [MAP_FRIEND_AREA_STRATOS_LOOKOUT] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 163, + .unk6 = 14, + .text = _("__ground_amd_conversion_00163"), + }, + [MAP_FRIEND_AREA_RAVAGED_FIELD] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 164, + .unk6 = -1, + .text = _("__ground_amd_conversion_00164"), + }, + [MAP_FRIEND_AREA_MAGNETIC_QUARRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 165, + .unk6 = -1, + .text = _("__ground_amd_conversion_00165"), + }, + [MAP_FRIEND_AREA_LEGENDARY_ISLAND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 166, + .unk6 = -1, + .text = _("__ground_amd_conversion_00166"), + }, + [MAP_FRIEND_AREA_SOUTHERN_ISLAND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 167, + .unk6 = -1, + .text = _("__ground_amd_conversion_00167"), + }, + [MAP_FRIEND_AREA_ENCLOSED_ISLAND] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 168, + .unk6 = 8, + .text = _("__ground_amd_conversion_00168"), + }, + [MAP_FRIEND_AREA_FINAL_ISLAND] = { + .unk0 = 5, + .groundPlaceId = GROUND_PLACE_FRIEND_AREAS, + .mapFileTableId = 170, + .unk6 = -1, + .text = _("__ground_amd_conversion_00170"), + }, + [MAP_PERSONALITY_TEST_CYAN] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 171, + .unk6 = -1, + .text = _("__ground_amd_conversion_00171"), + }, + [MAP_PERSONALITY_TEST_PURPLE] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 172, + .unk6 = -1, + .text = _("__ground_amd_conversion_00172"), + }, + [MAP_FUGITIVES_FISSURE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 173, + .unk6 = -1, + .text = _("__ground_amd_conversion_00173"), + }, + [MAP_FUGITIVES_FIRE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 174, + .unk6 = 13, + .text = _("__ground_amd_conversion_00174"), + }, + [MAP_FUGITIVES_LAPIS_CAVE] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 175, + .unk6 = -1, + .text = _("__ground_amd_conversion_00175"), + }, + [MAP_FUGITIVES_VOLCANO] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 176, + .unk6 = -1, + .text = _("__ground_amd_conversion_00176"), + }, + [MAP_FUGITIVES_SNOW_ROAD] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 177, + .unk6 = 10, + .text = _("__ground_amd_conversion_00177"), + }, + [MAP_FUGITIVES_SNOW_FOREST] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 178, + .unk6 = 10, + .text = _("__ground_amd_conversion_00178"), + }, + [MAP_FUGITIVES_BLIZZARD_ROAD] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 179, + .unk6 = 12, + .text = _("__ground_amd_conversion_00179"), + }, + [MAP_SUMMIT_SUNSET] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_HILL_OF_THE_ANCIENTS, + .mapFileTableId = 180, + .unk6 = -1, + .text = _("__ground_amd_conversion_00180"), + }, + [MAP_SKY_TOWER] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 181, + .unk6 = -1, + .text = _("__ground_amd_conversion_00181"), + }, + [MAP_COMET] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 182, + .unk6 = -1, + .text = _("__ground_amd_conversion_00182"), + }, + [MAP_NIGHTMARE] = { + .unk0 = 6, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 183, + .unk6 = -1, + .text = _("__ground_amd_conversion_00183"), + }, + [MAP_NIGHT_SKY_1] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 184, + .unk6 = -1, + .text = _("__ground_amd_conversion_00184"), + }, + [MAP_NIGHT_SKY_2] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 185, + .unk6 = -1, + .text = _("__ground_amd_conversion_00185"), + }, + [MAP_THE_END] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_DIRECTION, + .mapFileTableId = 186, + .unk6 = -1, + .text = _("__ground_amd_conversion_00186"), + }, + [MAP_TINY_WOODS_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_TINY_WOODS, + .mapFileTableId = 187, + .unk6 = -1, + .text = _("__ground_amd_conversion_00187"), + }, + [MAP_TINY_WOODS_END] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_TINY_WOODS, + .mapFileTableId = 188, + .unk6 = -1, + .text = _("__ground_amd_conversion_00188"), + }, + [MAP_THUNDERWAVE_CAVE_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_THUNDERWAVE_CAVE, + .mapFileTableId = 189, + .unk6 = -1, + .text = _("__ground_amd_conversion_00189"), + }, + [MAP_THUNDERWAVE_CAVE_END] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 190, + .unk6 = -1, + .text = _("__ground_amd_conversion_00190"), + }, + [MAP_MT_STEEL_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MT_STEEL, + .mapFileTableId = 191, + .unk6 = -1, + .text = _("__ground_amd_conversion_00191"), + }, + [MAP_MT_STEEL_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 192, + .unk6 = -1, + .text = _("__ground_amd_conversion_00192"), + }, + [MAP_SINISTER_WOODS_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_SINISTER_WOODS, + .mapFileTableId = 193, + .unk6 = -1, + .text = _("__ground_amd_conversion_00193"), + }, + [MAP_SINISTER_WOODS_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 194, + .unk6 = -1, + .text = _("__ground_amd_conversion_00194"), + }, + [MAP_SILENT_CHASM_ENTRY] = { + .unk0 = 6, + .groundPlaceId = GROUND_PLACE_SILENT_CHASM, + .mapFileTableId = 195, + .unk6 = -1, + .text = _("__ground_amd_conversion_00195"), + }, + [MAP_SILENT_CHASM_END] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 196, + .unk6 = -1, + .text = _("__ground_amd_conversion_00196"), + }, + [MAP_MT_THUNDER_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MT_THUNDER, + .mapFileTableId = 197, + .unk6 = -1, + .text = _("__ground_amd_conversion_00197"), + }, + [MAP_MT_THUNDER_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_MT_THUNDER_MID, + .mapFileTableId = 198, + .unk6 = -1, + .text = _("__ground_amd_conversion_00198"), + }, + [MAP_MT_THUNDER_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 199, + .unk6 = -1, + .text = _("__ground_amd_conversion_00199"), + }, + [MAP_GREAT_CANYON_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_GREAT_CANYON, + .mapFileTableId = 200, + .unk6 = -1, + .text = _("__ground_amd_conversion_00200"), + }, + [MAP_HILL_OF_THE_ANCIENTS] = { + .unk0 = 3, + .groundPlaceId = GROUND_PLACE_HILL_OF_THE_ANCIENTS, + .mapFileTableId = 201, + .unk6 = -1, + .text = _("__ground_amd_conversion_00201"), + }, + [MAP_LAPIS_CAVE_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_LAPIS_CAVE, + .mapFileTableId = 202, + .unk6 = 9, + .text = _("__ground_amd_conversion_00202"), + }, + [MAP_LAPIS_CAVE_END] = { + .unk0 = 3, + .groundPlaceId = GROUND_PLACE_LAPIS_CAVE_EXIT, + .mapFileTableId = 203, + .unk6 = 9, + .text = _("__ground_amd_conversion_00203"), + }, + [MAP_MT_BLAZE_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MT_BLAZE, + .mapFileTableId = 204, + .unk6 = 13, + .text = _("__ground_amd_conversion_00204"), + }, + [MAP_MT_BLAZE_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_MT_BLAZE_MID, + .mapFileTableId = 205, + .unk6 = -1, + .text = _("__ground_amd_conversion_00205"), + }, + [MAP_MT_BLAZE_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 206, + .unk6 = -1, + .text = _("__ground_amd_conversion_00206"), + }, + [MAP_FROSTY_FOREST_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_FROSTY_FOREST, + .mapFileTableId = 207, + .unk6 = 10, + .text = _("__ground_amd_conversion_00207"), + }, + [MAP_FROSTY_FOREST_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_FROSTY_CLEARING, + .mapFileTableId = 208, + .unk6 = -1, + .text = _("__ground_amd_conversion_00208"), + }, + [MAP_FROSTY_FOREST_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 209, + .unk6 = -1, + .text = _("__ground_amd_conversion_00209"), + }, + [MAP_MT_FREEZE_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MT_FREEZE, + .mapFileTableId = 210, + .unk6 = 10, + .text = _("__ground_amd_conversion_00210"), + }, + [MAP_MT_FREEZE_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_MT_FREEZE_MID, + .mapFileTableId = 211, + .unk6 = -1, + .text = _("__ground_amd_conversion_00211"), + }, + [MAP_MT_FREEZE_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 212, + .unk6 = -1, + .text = _("__ground_amd_conversion_00212"), + }, + [MAP_MAGMA_CAVERN_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_MAGMA_CAVERN, + .mapFileTableId = 213, + .unk6 = -1, + .text = _("__ground_amd_conversion_00213"), + }, + [MAP_MAGMA_CAVERN_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_MAGMA_CAVERN_MID, + .mapFileTableId = 214, + .unk6 = -1, + .text = _("__ground_amd_conversion_00214"), + }, + [MAP_MAGMA_CAVERN_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 215, + .unk6 = -1, + .text = _("__ground_amd_conversion_00215"), + }, + [MAP_SKY_TOWER_ENTRY] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_SKY_TOWER, + .mapFileTableId = 216, + .unk6 = -1, + .text = _("__ground_amd_conversion_00216"), + }, + [MAP_SKY_TOWER_MID] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_SKY_TOWER_MID, + .mapFileTableId = 217, + .unk6 = -1, + .text = _("__ground_amd_conversion_00217"), + }, + [MAP_SKY_TOWER_END] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 218, + .unk6 = -1, + .text = _("__ground_amd_conversion_00218"), + }, + [MAP_D14] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 219, + .unk6 = -1, + .text = _("__ground_amd_conversion_00219"), + }, + [MAP_D15] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 220, + .unk6 = -1, + .text = _("__ground_amd_conversion_00220"), + }, + [MAP_D16] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 221, + .unk6 = -1, + .text = _("__ground_amd_conversion_00221"), + }, + [MAP_D17] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 222, + .unk6 = -1, + .text = _("__ground_amd_conversion_00222"), + }, + [MAP_D18] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 223, + .unk6 = -1, + .text = _("__ground_amd_conversion_00223"), + }, + [MAP_D19] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 224, + .unk6 = -1, + .text = _("__ground_amd_conversion_00224"), + }, + [MAP_D20] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_WESTERN_CAVE, + .mapFileTableId = 225, + .unk6 = -1, + .text = _("__ground_amd_conversion_00225"), + }, + [MAP_D21] = { + .unk0 = 11, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 226, + .unk6 = -1, + .text = _("__ground_amd_conversion_00226"), + }, + [MAP_D22] = { + .unk0 = 3, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 227, + .unk6 = -1, + .text = _("__ground_amd_conversion_00227"), + }, + [MAP_D23] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 228, + .unk6 = -1, + .text = _("__ground_amd_conversion_00228"), + }, + [MAP_D24] = { + .unk0 = 3, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 229, + .unk6 = -1, + .text = _("__ground_amd_conversion_00229"), + }, + [MAP_D25] = { + .unk0 = 1, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 230, + .unk6 = -1, + .text = _("__ground_amd_conversion_00230"), + }, + [MAP_PERSONALITY_TEST_MULTICOLOR] = { + .unk0 = 10, + .groundPlaceId = GROUND_PLACE_DUNGEON, + .mapFileTableId = 231, + .unk6 = -1, + .text = _("__ground_amd_conversion_00231"), + }, + [MAP_TITLE_SCREEN] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 232, + .unk6 = -1, + .text = _("__ground_amd_conversion_00232"), + }, + [MAP_INTRO] = { + .unk0 = 9, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 233, + .unk6 = -1, + .text = _("__ground_amd_conversion_00233"), + }, + [MAP_LOGO_POKEMON_COMPANY] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 234, + .unk6 = -1, + .text = _("__ground_amd_conversion_00235"), + }, + [MAP_LOGO_WARNING] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 235, + .unk6 = -1, + .text = _("__ground_amd_conversion_00237"), + }, + [MAP_TEAM_BASE_WALL_MAP] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 236, + .unk6 = -1, + .text = _("__ground_amd_conversion_00239"), + }, + [MAP_COUNT] = { + .unk0 = 4, + .groundPlaceId = GROUND_PLACE_SCENE, + .mapFileTableId = 237, + .unk6 = -1, + .text = _("__ground_amd_conversion_00240"), + }, +}; diff --git a/src/ground_place.c b/src/ground_place.c index 774dc5bc3..3b2b613ab 100644 --- a/src/ground_place.c +++ b/src/ground_place.c @@ -4,45 +4,45 @@ #include "event_flag.h" static const u8 *const sGroundPlaceNames[] = { - [0] = _("Square"), - [1] = _("Square"), - [2] = _("Pokémon Square"), - [3] = _("Whiscash Pond"), - [4] = _("Pelipper Post Office"), - [5] = _("Pelipper Post Office"), - [6] = _("Makuhita Dojo"), - [7] = _("Makuhita Dojo"), - [8] = _("Luminous Cave"), - [9] = _("Friend Areas"), - [10] = _("$t Team Base"), - [11] = _("$t Team Base"), - [12] = _("Dungeon"), - [13] = _("Tiny Woods"), - [14] = _("Thunderwave Cave"), - [15] = _("Mt. Steel"), - [16] = _("Sinister Woods"), - [17] = _("Silent Chasm"), - [18] = _("Mt. Thunder"), - [19] = _("Mt. Thunder Mid"), - [20] = _("Great Canyon"), - [21] = _("Hill of the Ancients"), - [22] = _("Lapis Cave"), - [23] = _("Lapis Cave Exit"), - [24] = _("Mt. Blaze"), - [25] = _("Mt. Blaze Mid"), - [26] = _("Frosty Forest"), - [27] = _("Frosty Clearing"), - [28] = _("Mt. Freeze"), - [29] = _("Mt. Freeze Mid"), - [30] = _("Magma Cavern"), - [31] = _("Magma Cavern Mid"), - [32] = _("Sky Tower"), - [33] = _("Sky Tower Mid"), - [34] = _("Western Cave"), - [35] = _("{COLOR YELLOW_C}direction{RESET}"), - [36] = _("New Game"), - [37] = _("{COLOR YELLOW_C}scene{RESET}"), - [38] = _("{COLOR RED_W}invalidity{RESET}"), + [GROUND_PLACE_SQUARE] = _("Square"), + [GROUND_PLACE_SQUARE_2] = _("Square"), + [GROUND_PLACE_POKEMON_SQUARE] = _("Pokémon Square"), + [GROUND_PLACE_WHISCASH_POND] = _("Whiscash Pond"), + [GROUND_PLACE_PELIPPER_POST_OFFICE] = _("Pelipper Post Office"), + [GROUND_PLACE_PELIPPER_POST_OFFICE_INSIDE] =_("Pelipper Post Office"), + [GROUND_PLACE_MAKUHITA_DOJO] = _("Makuhita Dojo"), + [GROUND_PLACE_MAKUHITA_DOJO_INSIDE] = _("Makuhita Dojo"), + [GROUND_PLACE_LUMINOUS_CAVE] = _("Luminous Cave"), + [GROUND_PLACE_FRIEND_AREAS] = _("Friend Areas"), + [GROUND_PLACE_TEAM_BASE] = _("$t Team Base"), + [GROUND_PLACE_TEAM_BASE_INSIDE] = _("$t Team Base"), + [GROUND_PLACE_DUNGEON] = _("Dungeon"), + [GROUND_PLACE_TINY_WOODS] = _("Tiny Woods"), + [GROUND_PLACE_THUNDERWAVE_CAVE] = _("Thunderwave Cave"), + [GROUND_PLACE_MT_STEEL] = _("Mt. Steel"), + [GROUND_PLACE_SINISTER_WOODS] = _("Sinister Woods"), + [GROUND_PLACE_SILENT_CHASM] = _("Silent Chasm"), + [GROUND_PLACE_MT_THUNDER] = _("Mt. Thunder"), + [GROUND_PLACE_MT_THUNDER_MID] = _("Mt. Thunder Mid"), + [GROUND_PLACE_GREAT_CANYON] = _("Great Canyon"), + [GROUND_PLACE_HILL_OF_THE_ANCIENTS] = _("Hill of the Ancients"), + [GROUND_PLACE_LAPIS_CAVE] = _("Lapis Cave"), + [GROUND_PLACE_LAPIS_CAVE_EXIT] = _("Lapis Cave Exit"), + [GROUND_PLACE_MT_BLAZE] = _("Mt. Blaze"), + [GROUND_PLACE_MT_BLAZE_MID] = _("Mt. Blaze Mid"), + [GROUND_PLACE_FROSTY_FOREST] = _("Frosty Forest"), + [GROUND_PLACE_FROSTY_CLEARING] = _("Frosty Clearing"), + [GROUND_PLACE_MT_FREEZE] = _("Mt. Freeze"), + [GROUND_PLACE_MT_FREEZE_MID] = _("Mt. Freeze Mid"), + [GROUND_PLACE_MAGMA_CAVERN] = _("Magma Cavern"), + [GROUND_PLACE_MAGMA_CAVERN_MID] = _("Magma Cavern Mid"), + [GROUND_PLACE_SKY_TOWER] = _("Sky Tower"), + [GROUND_PLACE_SKY_TOWER_MID] = _("Sky Tower Mid"), + [GROUND_PLACE_WESTERN_CAVE] = _("Western Cave"), + [GROUND_PLACE_DIRECTION] = _("{COLOR YELLOW_C}direction{RESET}"), + [GROUND_PLACE_NEW_GAME] = _("New Game"), + [GROUND_PLACE_SCENE] = _("{COLOR YELLOW_C}scene{RESET}"), + [GROUND_PLACE_INVALIDITY] = _("{COLOR RED_W}invalidity{RESET}"), }; // Returns Location string for the pause menu diff --git a/src/ground_script.c b/src/ground_script.c index 8c25d1445..547374bc8 100644 --- a/src/ground_script.c +++ b/src/ground_script.c @@ -45,7 +45,7 @@ #include "pokemon_3.h" #include "friend_area_dialogue.h" #include "structs/str_dungeon_setup.h" - +#include "ground_map_conversion_table.h" void GroundMap_Select(s16); void GroundMap_SelectDungeon(s32, DungeonLocation*, u32); @@ -1401,7 +1401,7 @@ s32 ExecuteScriptCommand(Action *action) u32 argCopy = arg; u32 byte = (u8)curCmd.argByte; if (ScriptLoggingEnabled(TRUE)) { - Log(1, " ground select %3d[%s] %3d", arg, gGroundConversion_811BAF4[arg].text, byte); + Log(1, " ground select %3d[%s] %3d", arg, gGroundMapConversionTable[arg].text, byte); } GroundMainGroundRequest(argCopy, byte, curCmd.argShort); break; @@ -1490,25 +1490,25 @@ s32 ExecuteScriptCommand(Action *action) gUnknown_2039A34 = gUnknown_2039A32; if (ScriptLoggingEnabled(TRUE)) { Log(1," map select %3d %3d[%s]",gCurrentMap,gUnknown_2039A32, - gGroundConversion_811BAF4[gCurrentMap].text); + gGroundMapConversionTable[gCurrentMap].text); } } else { gUnknown_2039A32 = gCurrentMap = curCmd.arg1; gUnknown_2039A34 = curCmd.arg1; if (ScriptLoggingEnabled(TRUE)) { Log(1," ground select %3d %3d[%s]",gCurrentMap,gUnknown_2039A32, - gGroundConversion_811BAF4[gCurrentMap].text); + gGroundMapConversionTable[gCurrentMap].text); } } SetScriptVarValue(NULL,GROUND_MAP,gCurrentMap); - SetScriptVarValue(NULL,GROUND_PLACE,gGroundConversion_811BAF4[gCurrentMap].unk2); + SetScriptVarValue(NULL,GROUND_PLACE,gGroundMapConversionTable[gCurrentMap].groundPlaceId); GroundSprite_Reset(gUnknown_2039A32); sub_809D0BC(); DeleteGroundEvents(); DeleteGroundLives(); DeleteGroundObjects(); DeleteGroundEffects(); - sub_809C770(gCurrentMap, gGroundConversion_811BAF4[gCurrentMap].unk2); + sub_809C770(gCurrentMap, gGroundMapConversionTable[gCurrentMap].groundPlaceId); GroundMap_Select(gUnknown_2039A32); GroundLink_Select(gUnknown_2039A32); GroundLives_Select(gUnknown_2039A32,0,0); @@ -1522,7 +1522,7 @@ s32 ExecuteScriptCommand(Action *action) gUnknown_2039A34 = gUnknown_2039A32 = gCurrentMap = (s16)curCmd.arg2; if (ScriptLoggingEnabled(TRUE)) { Log(1, " dungeon select %3d %3d[%s]", gCurrentMap,gUnknown_2039A32, - gGroundConversion_811BAF4[gCurrentMap].text); + gGroundMapConversionTable[gCurrentMap].text); } GroundSprite_Reset(gUnknown_2039A32); sub_809D0BC(); diff --git a/src/load_screen.c b/src/load_screen.c index 25c94b972..c08498962 100644 --- a/src/load_screen.c +++ b/src/load_screen.c @@ -253,11 +253,6 @@ u32 UpdateLoadScreenMenu(void) return nextMenu; } -static inline u8 *DrawLoadScreenTextSub(u8 *teamNameBuffer) { - strcpy(teamNameBuffer,gNoTeamNamePlaceholder); - return teamNameBuffer; -} - void DrawLoadScreenText(void) { int iVar2; @@ -272,7 +267,6 @@ void DrawLoadScreenText(void) u32 seconds; Pokemon *playerInfo; unkStruct_203B484 *temp2; - u8 *r2; iVar2 = sub_8011FA8(); CallPrepareTextbox_8008C54(0); @@ -287,14 +281,12 @@ void DrawLoadScreenText(void) // Draw Team Name if (sub_80023E4(0)) { sub_80920D8(teamNameBuffer); - r2 = teamNameBuffer; } else { - // NOTE: static inline was needed here to match -jiang - r2 = DrawLoadScreenTextSub(teamNameBuffer); + InlineStrcpy(teamNameBuffer,gNoTeamNamePlaceholder); } - sprintfStatic(gLoadScreen->formattedTeamName,gUnknown_80E7804,r2); + sprintfStatic(gLoadScreen->formattedTeamName,gUnknown_80E7804,teamNameBuffer); PrintStringOnWindow(64,0,gLoadScreen->formattedTeamName,0,0); // Draw Player Name