pokeemerald/data/data2c.s

198 lines
5.3 KiB
ArmAsm
Raw Normal View History

2017-12-11 19:27:51 +01:00
#include "constants/abilities.h"
2017-12-11 19:41:13 +01:00
#include "constants/items.h"
2017-12-11 19:27:51 +01:00
#include "constants/moves.h"
#include "constants/species.h"
2017-09-04 15:05:11 +02:00
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
@ 831C898
.include "data/battle_moves.inc"
2017-10-06 08:57:52 +02:00
@ 0x31d93c
@ unreferenced unknown data
.byte 0x34, 0x00, 0x10, 0x00, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00
2017-09-04 15:05:11 +02:00
@ 831D94C
.include "data/pokedex_order.inc"
@ 831E2F0
.include "data/spinda_spot_graphics.inc"
@ 831E380
.include "data/item_effect_info.inc"
@ 831E818
.include "data/nature_stat_table.inc"
@ 831E898
.include "data/tm_hm_learnsets.inc"
@ 831F578
.include "data/trainer_pic_indices.inc"
@ 831F5CA
.include "data/trainer_class_name_indices.inc"
@ 831F61C
.include "data/cry_id_table.inc"
@ 831F72C
.include "data/experience_tables.inc"
@ 83203CC
.include "data/base_stats.inc"
@ 83230DC
.include "data/level_up_learnsets.inc"
@ 832531C
.include "data/evolution_table.inc"
@ 832937C
.include "data/level_up_learnset_pointers.inc"
2017-10-06 08:57:52 +02:00
@ 83299EC
.include "data/graphics/pokemon/front_anim_ids_table.inc"
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
@ 8329B87
.include "data/graphics/pokemon/animation_delay_table.inc"
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 15:05:11 +02:00
gUnknown_08329D22:: @ 8329D22
2017-10-06 08:57:52 +02:00
@ Masks for getting PP Up count, also PP Max values
.byte 0x03, 0x0c, 0x30, 0xc0
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 15:05:11 +02:00
gUnknown_08329D26:: @ 8329D26
2017-10-06 08:57:52 +02:00
@ Masks for setting PP Up count
.byte 0xfc, 0xf3, 0xcf, 0x3f
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 15:05:11 +02:00
gUnknown_08329D2A:: @ 8329D2A
2017-10-06 08:57:52 +02:00
@ Values added to PP Up count
.byte 0x01, 0x04, 0x10, 0x40
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 21:43:13 +02:00
gStatStageRatios:: @ 8329D2E
2017-10-06 08:57:52 +02:00
.byte 0x0a, 0x28
.byte 0x0a, 0x23
.byte 0x0a, 0x1e
.byte 0x0a, 0x19
.byte 0x0a, 0x14
.byte 0x0a, 0x0f
.byte 0x0a, 0x0a
.byte 0x0f, 0x0a
.byte 0x14, 0x0a
.byte 0x19, 0x0a
.byte 0x1e, 0x0a
.byte 0x23, 0x0a
.byte 0x28, 0x0a
.align 1
2017-09-04 15:05:11 +02:00
gUnknown_08329D48:: @ 8329D48
2017-10-06 08:57:52 +02:00
.2byte 0x0032, 0x005f, 0x005a, 0x00b4, 0x005f, 0x005a
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 15:05:11 +02:00
gUnknown_08329D54:: @ 8329D54
2017-10-06 08:57:52 +02:00
.2byte 0x0003, 0x000a, 0x001b, 0x002b, 0x001e, 0x0043, 0x0042, 0x0019
.2byte 0x0012, 0x000c, 0x001c, 0x0047, 0x001f, 0x0036, 0x0002, 0x0014
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 1
2017-09-04 15:05:11 +02:00
gHoldEffectToType:: @ 8329D74
2017-10-06 08:57:52 +02:00
.byte 0x1f, 0x06
.byte 0x2a, 0x08
.byte 0x2e, 0x04
.byte 0x2f, 0x05
.byte 0x30, 0x0c
.byte 0x31, 0x11
.byte 0x32, 0x01
.byte 0x33, 0x0d
.byte 0x34, 0x0b
.byte 0x35, 0x02
.byte 0x36, 0x03
.byte 0x37, 0x0f
.byte 0x38, 0x07
.byte 0x39, 0x0e
.byte 0x3a, 0x0a
.byte 0x3b, 0x10
.byte 0x3c, 0x00
.byte 0x00, 0x00
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 2
2017-09-04 15:05:11 +02:00
gUnknown_08329D98:: @ 8329D98
2017-10-06 08:57:52 +02:00
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF3A8, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACA8, NULL, gUnknown_082FF3C8, gUnknown_082FF694, oac_poke_opponent
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF3E8, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACA8, NULL, gUnknown_082FF408, gUnknown_082FF694, oac_poke_opponent
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 2
2017-09-04 15:05:11 +02:00
gUnknown_08329DF8:: @ 8329DF8
2017-10-06 08:57:52 +02:00
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF428, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF448, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF468, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF490, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF4B8, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF4D8, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF4F8, gUnknown_082FF618, sub_8039BB4
spr_template 0xffff, 0x0000, gUnknown_0831ACB0, NULL, gUnknown_082FF518, gUnknown_082FF618, sub_8039BB4
2017-09-04 15:05:11 +02:00
2017-09-06 18:34:18 +02:00
gSecretBaseTrainerClasses:: @ 8329EB8
2017-10-06 08:57:52 +02:00
.byte TRAINER_CLASS_YOUNGSTER, TRAINER_CLASS_BUG_CATCHER, TRAINER_CLASS_RICH_BOY, TRAINER_CLASS_CAMPER, TRAINER_CLASS_COOLTRAINER_1
.byte TRAINER_CLASS_LASS, TRAINER_CLASS_SCHOOL_KID_2, TRAINER_CLASS_LADY, TRAINER_CLASS_PICNICKER, TRAINER_CLASS_COOLTRAINER_2
2017-09-04 15:05:11 +02:00
gUnknown_08329EC2:: @ 8329EC2
2017-10-06 08:57:52 +02:00
.byte 0x1a, 0x1b, 0x1c, 0x1d, 0x1f, 0x1e
2017-09-04 15:05:11 +02:00
gUnknown_08329EC8:: @ 8329EC8
2017-10-06 08:57:52 +02:00
.byte 1, 1, 3, 2, 4, 6
2017-09-04 15:05:11 +02:00
gUnknown_08329ECE:: @ 8329ECE
2017-10-06 08:57:52 +02:00
@ Happiness deltas
.byte 0x05, 0x03, 0x02
.byte 0x05, 0x03, 0x02
.byte 0x01, 0x01, 0x00
.byte 0x03, 0x02, 0x01
.byte 0x01, 0x01, 0x00
.byte 0x01, 0x01, 0x01
.byte 0xff, 0xff, 0xff
.byte 0xfb, 0xfb, 0xf6
.byte 0xfb, 0xfb, 0xf6
.align 1
2017-09-06 21:48:30 +02:00
gHMMoves:: @ 8329EEA
2017-10-06 08:57:52 +02:00
.2byte MOVE_CUT
.2byte MOVE_FLY
.2byte MOVE_SURF
.2byte MOVE_STRENGTH
.2byte MOVE_FLASH
.2byte MOVE_ROCK_SMASH
.2byte MOVE_WATERFALL
.2byte MOVE_DIVE
.2byte 0xffff
.align 1
2017-09-11 14:42:13 +02:00
gAlteringCaveWildMonHeldItems:: @ 8329EFC
2017-10-06 08:57:52 +02:00
.2byte 0, ITEM_NONE
.2byte SPECIES_MAREEP, ITEM_GANLON_BERRY
.2byte SPECIES_PINECO, ITEM_APICOT_BERRY
.2byte SPECIES_HOUNDOUR, ITEM_BIG_MUSHROOM
.2byte SPECIES_TEDDIURSA, ITEM_PETAYA_BERRY
.2byte SPECIES_AIPOM, ITEM_BERRY_JUICE
.2byte SPECIES_SHUCKLE, ITEM_BERRY_JUICE
.2byte SPECIES_STANTLER, ITEM_PETAYA_BERRY
.2byte SPECIES_SMEARGLE, ITEM_SALAC_BERRY
2017-09-04 15:05:11 +02:00
2017-10-06 08:57:52 +02:00
.align 2
gUnknown_08329F20:: @ 8329F20
.byte 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
.align 2
2017-09-04 15:05:11 +02:00
gUnknown_08329F28:: @ 8329F28
2017-10-06 08:57:52 +02:00
spr_template 0xffff, 0xffff, gUnknown_08329F20, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy