split asm/emerald.s

This commit is contained in:
YamaArashi
2016-09-03 01:11:14 -07:00
parent a05857f889
commit b12e80fc04
21 changed files with 364977 additions and 369893 deletions

View File

@@ -21,7 +21,7 @@
.set EC_GROUP_TRENDY_SAYING, 0x14
.set EC_GROUP_POKEMON2, 0x15
; Trainer
@ Trainer
.set EC_WORD_I_CHOOSE_YOU, (EC_GROUP_TRAINER << 9) | 0x0
.set EC_WORD_GOTCHA, (EC_GROUP_TRAINER << 9) | 0x1
.set EC_WORD_TRADE, (EC_GROUP_TRAINER << 9) | 0x2
@@ -50,7 +50,7 @@
.set EC_WORD_SILVER, (EC_GROUP_TRAINER << 9) | 0x19
.set EC_WORD_EMERALD, (EC_GROUP_TRAINER << 9) | 0x1a
; Status
@ Status
.set EC_WORD_DARK, (EC_GROUP_STATUS << 9) | 0x0
.set EC_WORD_STENCH, (EC_GROUP_STATUS << 9) | 0x1
.set EC_WORD_THICK_FAT, (EC_GROUP_STATUS << 9) | 0x2
@@ -161,7 +161,7 @@
.set EC_WORD_PURE_POWER, (EC_GROUP_STATUS << 9) | 0x6b
.set EC_WORD_SHIELD_DUST, (EC_GROUP_STATUS << 9) | 0x6c
; Battle
@ Battle
.set EC_WORD_MATCH_UP, (EC_GROUP_BATTLE << 9) | 0x0
.set EC_WORD_GO, (EC_GROUP_BATTLE << 9) | 0x1
.set EC_WORD_NO_1, (EC_GROUP_BATTLE << 9) | 0x2
@@ -226,7 +226,7 @@
.set EC_WORD_RULE, (EC_GROUP_BATTLE << 9) | 0x3d
.set EC_WORD_MOVE, (EC_GROUP_BATTLE << 9) | 0x3e
; Greetings
@ Greetings
.set EC_WORD_THANKS, (EC_GROUP_GREETINGS << 9) | 0x0
.set EC_WORD_YES, (EC_GROUP_GREETINGS << 9) | 0x1
.set EC_WORD_HERE_GOES, (EC_GROUP_GREETINGS << 9) | 0x2
@@ -270,7 +270,7 @@
.set EC_WORD_COME_OVER, (EC_GROUP_GREETINGS << 9) | 0x28
.set EC_WORD_COUNT_ON, (EC_GROUP_GREETINGS << 9) | 0x29
; People
@ People
.set EC_WORD_OPPONENT, (EC_GROUP_PEOPLE << 9) | 0x0
.set EC_WORD_I, (EC_GROUP_PEOPLE << 9) | 0x1
.set EC_WORD_YOU, (EC_GROUP_PEOPLE << 9) | 0x2
@@ -347,7 +347,7 @@
.set EC_WORD_SHE_IS, (EC_GROUP_PEOPLE << 9) | 0x49
.set EC_WORD_SOME, (EC_GROUP_PEOPLE << 9) | 0x4a
; Voices
@ Voices
.set EC_WORD_EXCL, (EC_GROUP_VOICES << 9) | 0x0
.set EC_WORD_EXCL_EXCL, (EC_GROUP_VOICES << 9) | 0x1
.set EC_WORD_QUES_EXCL, (EC_GROUP_VOICES << 9) | 0x2
@@ -412,7 +412,7 @@
.set EC_WORD_GWAH, (EC_GROUP_VOICES << 9) | 0x3d
.set EC_WORD_WAHAHAHA, (EC_GROUP_VOICES << 9) | 0x3e
; Speech
@ Speech
.set EC_WORD_LISTEN, (EC_GROUP_SPEECH << 9) | 0x0
.set EC_WORD_NOT_VERY, (EC_GROUP_SPEECH << 9) | 0x1
.set EC_WORD_MEAN, (EC_GROUP_SPEECH << 9) | 0x2
@@ -474,7 +474,7 @@
.set EC_WORD_INSTEAD, (EC_GROUP_SPEECH << 9) | 0x3a
.set EC_WORD_FANTASTIC, (EC_GROUP_SPEECH << 9) | 0x3b
; Endings
@ Endings
.set EC_WORD_WILL, (EC_GROUP_ENDINGS << 9) | 0x0
.set EC_WORD_WILL_BE_HERE, (EC_GROUP_ENDINGS << 9) | 0x1
.set EC_WORD_OR, (EC_GROUP_ENDINGS << 9) | 0x2
@@ -545,7 +545,7 @@
.set EC_WORD_ONCE, (EC_GROUP_ENDINGS << 9) | 0x43
.set EC_WORD_ANYWHERE, (EC_GROUP_ENDINGS << 9) | 0x44
; Feelings
@ Feelings
.set EC_WORD_MEET, (EC_GROUP_FEELINGS << 9) | 0x0
.set EC_WORD_PLAY, (EC_GROUP_FEELINGS << 9) | 0x1
.set EC_WORD_HURRIED, (EC_GROUP_FEELINGS << 9) | 0x2
@@ -616,7 +616,7 @@
.set EC_WORD_UNDERSTAND, (EC_GROUP_FEELINGS << 9) | 0x43
.set EC_WORD_UNDERSTANDS, (EC_GROUP_FEELINGS << 9) | 0x44
; Conditions
@ Conditions
.set EC_WORD_HOT, (EC_GROUP_CONDITIONS << 9) | 0x0
.set EC_WORD_EXISTS, (EC_GROUP_CONDITIONS << 9) | 0x1
.set EC_WORD_EXCESS, (EC_GROUP_CONDITIONS << 9) | 0x2
@@ -687,7 +687,7 @@
.set EC_WORD_SEEMS, (EC_GROUP_CONDITIONS << 9) | 0x43
.set EC_WORD_BADLY, (EC_GROUP_CONDITIONS << 9) | 0x44
; Actions
@ Actions
.set EC_WORD_MEETS, (EC_GROUP_ACTIONS << 9) | 0x0
.set EC_WORD_CONCEDE, (EC_GROUP_ACTIONS << 9) | 0x1
.set EC_WORD_GIVE, (EC_GROUP_ACTIONS << 9) | 0x2
@@ -767,7 +767,7 @@
.set EC_WORD_FAINT, (EC_GROUP_ACTIONS << 9) | 0x4c
.set EC_WORD_FAINTED, (EC_GROUP_ACTIONS << 9) | 0x4d
; Lifestyle
@ Lifestyle
.set EC_WORD_CHORES, (EC_GROUP_LIFESTYLE << 9) | 0x0
.set EC_WORD_HOME, (EC_GROUP_LIFESTYLE << 9) | 0x1
.set EC_WORD_MONEY, (EC_GROUP_LIFESTYLE << 9) | 0x2
@@ -814,7 +814,7 @@
.set EC_WORD_RENTAL, (EC_GROUP_LIFESTYLE << 9) | 0x2b
.set EC_WORD_WORLD, (EC_GROUP_LIFESTYLE << 9) | 0x2c
; Hobbies
@ Hobbies
.set EC_WORD_IDOL, (EC_GROUP_HOBBIES << 9) | 0x0
.set EC_WORD_ANIME, (EC_GROUP_HOBBIES << 9) | 0x1
.set EC_WORD_SONG, (EC_GROUP_HOBBIES << 9) | 0x2
@@ -870,7 +870,7 @@
.set EC_WORD_VACATION, (EC_GROUP_HOBBIES << 9) | 0x34
.set EC_WORD_LOOK, (EC_GROUP_HOBBIES << 9) | 0x35
; Time
@ Time
.set EC_WORD_FALL, (EC_GROUP_TIME << 9) | 0x0
.set EC_WORD_MORNING, (EC_GROUP_TIME << 9) | 0x1
.set EC_WORD_TOMORROW, (EC_GROUP_TIME << 9) | 0x2
@@ -917,7 +917,7 @@
.set EC_WORD_NIGHT, (EC_GROUP_TIME << 9) | 0x2b
.set EC_WORD_WEEK, (EC_GROUP_TIME << 9) | 0x2c
; Misc.
@ Misc.
.set EC_WORD_HIGHS, (EC_GROUP_MISC << 9) | 0x0
.set EC_WORD_LOWS, (EC_GROUP_MISC << 9) | 0x1
.set EC_WORD_UM, (EC_GROUP_MISC << 9) | 0x2
@@ -961,7 +961,7 @@
.set EC_WORD_LEFT, (EC_GROUP_MISC << 9) | 0x28
.set EC_WORD_RIGHT, (EC_GROUP_MISC << 9) | 0x29
; Adjectives
@ Adjectives
.set EC_WORD_WANDERING, (EC_GROUP_ADJECTIVES << 9) | 0x0
.set EC_WORD_RICKETY, (EC_GROUP_ADJECTIVES << 9) | 0x1
.set EC_WORD_ROCK_SOLID, (EC_GROUP_ADJECTIVES << 9) | 0x2
@@ -999,7 +999,7 @@
.set EC_WORD_HAPPILY, (EC_GROUP_ADJECTIVES << 9) | 0x22
.set EC_WORD_ANTICIPATION, (EC_GROUP_ADJECTIVES << 9) | 0x23
; Events
@ Events
.set EC_WORD_APPEAL, (EC_GROUP_EVENTS << 9) | 0x0
.set EC_WORD_EVENTS, (EC_GROUP_EVENTS << 9) | 0x1
.set EC_WORD_STAY_AT_HOME, (EC_GROUP_EVENTS << 9) | 0x2
@@ -1030,7 +1030,7 @@
.set EC_WORD_WIRELESS, (EC_GROUP_EVENTS << 9) | 0x1b
.set EC_WORD_FRONTIER, (EC_GROUP_EVENTS << 9) | 0x1c
; Trendy Saying
@ Trendy Saying
.set EC_WORD_KTHX_BYE, (EC_GROUP_TRENDY_SAYING << 9) | 0x0
.set EC_WORD_YES_SIR_EXCL, (EC_GROUP_TRENDY_SAYING << 9) | 0x1
.set EC_WORD_AVANT_GARDE, (EC_GROUP_TRENDY_SAYING << 9) | 0x2

View File

@@ -32,9 +32,9 @@
.set INTR_FLAG_KEYPAD, 1 << 12
.set INTR_FLAG_GAMEPAK, 1 << 13
.set REG_BASE, 0x4000000 ; I/O register base address
.set REG_BASE, 0x4000000 @ I/O register base address
; I/O register offsets
@ I/O register offsets
.set OFFSET_REG_DISPCNT, 0x0
.set OFFSET_REG_DISPSTAT, 0x4
.set OFFSET_REG_VCOUNT, 0x6
@@ -201,7 +201,7 @@
.set OFFSET_REG_WAITCNT, 0x204
; I/O register addresses
@ I/O register addresses
.set REG_DISPCNT, REG_BASE + OFFSET_REG_DISPCNT
.set REG_DISPSTAT, REG_BASE + OFFSET_REG_DISPSTAT
.set REG_VCOUNT, REG_BASE + OFFSET_REG_VCOUNT
@@ -368,7 +368,7 @@
.set REG_WAITCNT, REG_BASE + OFFSET_REG_WAITCNT
; OAM attribute constants
@ OAM attribute constants
.set OAM_OBJ_NORMAL, 0x00000000
.set OAM_OBJ_BLEND, 0x00000400

File diff suppressed because it is too large Load Diff

View File

@@ -61,18 +61,18 @@
.set F_SUMMARY_SCREEN_FLIP_SPRITE, 0x80
.set EVO_FRIENDSHIP, 0x0001 ; Pokémon levels up with friendship ≥ 220
.set EVO_FRIENDSHIP_DAY, 0x0002 ; Pokémon levels up during the day with friendship ≥ 220
.set EVO_FRIENDSHIP_NIGHT, 0x0003 ; Pokémon levels up at night with friendship ≥ 220
.set EVO_LEVEL, 0x0004 ; Pokémon reaches the specified level
.set EVO_TRADE, 0x0005 ; Pokémon is traded
.set EVO_TRADE_ITEM, 0x0006 ; Pokémon is traded while it's holding the specified item
.set EVO_ITEM, 0x0007 ; specified item is used on Pokémon
.set EVO_LEVEL_ATK_GT_DEF, 0x0008 ; Pokémon reaches the specified level with attack > defense
.set EVO_LEVEL_ATK_EQ_DEF, 0x0009 ; Pokémon reaches the specified level with attack = defense
.set EVO_LEVEL_ATK_LT_DEF, 0x000a ; Pokémon reaches the specified level with attack < defense
.set EVO_LEVEL_SILCOON, 0x000b ; Pokémon reaches the specified level with a Silcoon personality value
.set EVO_LEVEL_CASCOON, 0x000c ; Pokémon reaches the specified level with a Cascoon personality value
.set EVO_LEVEL_NINJASK, 0x000d ; Pokémon reaches the specified level (special value for Ninjask)
.set EVO_LEVEL_SHEDINJA, 0x000e ; Pokémon reaches the specified level (special value for Shedinja)
.set EVO_BEAUTY, 0x000f ; Pokémon levels up with beauty ≥ specified value
.set EVO_FRIENDSHIP, 0x0001 @ Pokémon levels up with friendship ≥ 220
.set EVO_FRIENDSHIP_DAY, 0x0002 @ Pokémon levels up during the day with friendship ≥ 220
.set EVO_FRIENDSHIP_NIGHT, 0x0003 @ Pokémon levels up at night with friendship ≥ 220
.set EVO_LEVEL, 0x0004 @ Pokémon reaches the specified level
.set EVO_TRADE, 0x0005 @ Pokémon is traded
.set EVO_TRADE_ITEM, 0x0006 @ Pokémon is traded while it's holding the specified item
.set EVO_ITEM, 0x0007 @ specified item is used on Pokémon
.set EVO_LEVEL_ATK_GT_DEF, 0x0008 @ Pokémon reaches the specified level with attack > defense
.set EVO_LEVEL_ATK_EQ_DEF, 0x0009 @ Pokémon reaches the specified level with attack = defense
.set EVO_LEVEL_ATK_LT_DEF, 0x000a @ Pokémon reaches the specified level with attack < defense
.set EVO_LEVEL_SILCOON, 0x000b @ Pokémon reaches the specified level with a Silcoon personality value
.set EVO_LEVEL_CASCOON, 0x000c @ Pokémon reaches the specified level with a Cascoon personality value
.set EVO_LEVEL_NINJASK, 0x000d @ Pokémon reaches the specified level (special value for Ninjask)
.set EVO_LEVEL_SHEDINJA, 0x000e @ Pokémon reaches the specified level (special value for Shedinja)
.set EVO_BEAUTY, 0x000f @ Pokémon levels up with beauty ≥ specified value

View File

@@ -1098,25 +1098,25 @@
.set TRAINER_CLASS_NAME_PYRAMID_KING, 0x40
.set TRAINER_CLASS_NAME_PKMN_TRAINER_4, 0x41
.set TRAINER_ENCOUNTER_MUSIC_MALE, 0 ; standard male encounter music
.set TRAINER_ENCOUNTER_MUSIC_FEMALE, 1 ; standard female encounter music
.set TRAINER_ENCOUNTER_MUSIC_GIRL, 2 ; used for male Tubers and Young Couples too
.set TRAINER_ENCOUNTER_MUSIC_MALE, 0 @ standard male encounter music
.set TRAINER_ENCOUNTER_MUSIC_FEMALE, 1 @ standard female encounter music
.set TRAINER_ENCOUNTER_MUSIC_GIRL, 2 @ used for male Tubers and Young Couples too
.set TRAINER_ENCOUNTER_MUSIC_SUSPICIOUS, 3
.set TRAINER_ENCOUNTER_MUSIC_INTENSE, 4
.set TRAINER_ENCOUNTER_MUSIC_COOL, 5
.set TRAINER_ENCOUNTER_MUSIC_AQUA, 6
.set TRAINER_ENCOUNTER_MUSIC_MAGMA, 7
.set TRAINER_ENCOUNTER_MUSIC_SWIMMER, 8
.set TRAINER_ENCOUNTER_MUSIC_TWINS, 9 ; used for other trainer classes too
.set TRAINER_ENCOUNTER_MUSIC_TWINS, 9 @ used for other trainer classes too
.set TRAINER_ENCOUNTER_MUSIC_ELITE_FOUR, 10
.set TRAINER_ENCOUNTER_MUSIC_HIKER, 11 ; used for other trainer classes too
.set TRAINER_ENCOUNTER_MUSIC_HIKER, 11 @ used for other trainer classes too
.set TRAINER_ENCOUNTER_MUSIC_INTERVIEWER, 12
.set TRAINER_ENCOUNTER_MUSIC_RICH, 13 ; Rich Boys and Gentlemen
.set TRAINER_ENCOUNTER_MUSIC_RICH, 13 @ Rich Boys and Gentlemen
.set F_TRAINER_FEMALE, 1 << 7
; All trainer parties specify the IV, level, and species for each Pokémon in the
; party. Some trainer parties also specify held items and custom moves for each
; Pokémon.
@ All trainer parties specify the IV, level, and species for each Pokémon in the
@ party. Some trainer parties also specify held items and custom moves for each
@ Pokémon.
.set F_TRAINER_PARTY_CUSTOM_MOVESET, 1 << 0
.set F_TRAINER_PARTY_HELD_ITEM, 1 << 1