From 39524cdb766660a7bf6d60379040349652cecc04 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 15 Jul 2015 15:48:44 -0400 Subject: More enumeration of constants, more annotations of scripts. --- constants/misc_constants.asm | 1 + 1 file changed, 1 insertion(+) (limited to 'constants/misc_constants.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 31f2ad561..6b69713e1 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -96,3 +96,4 @@ ALWAYS_USE EQU 1 << ALWAYS_USE_F SWITCH_SOMETIMES EQU 1 << SWITCH_SOMETIMES_F SWITCH_RARELY EQU 1 << SWITCH_RARELY_F SWITCH_OFTEN EQU 1 << SWITCH_OFTEN_F +SPRITE_GFX_LIST_CAPACITY EQU $20 -- cgit v1.2.3 From 894955f9d922de5fc33e6c0aa7af9795dbcbc158 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 16 Jul 2015 18:10:10 -0400 Subject: Special script annotation, trainer constant enumeration, person-event structure update --- constants/misc_constants.asm | 1 + 1 file changed, 1 insertion(+) (limited to 'constants/misc_constants.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 6b69713e1..9346ae0e6 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -12,6 +12,7 @@ PLAYER_NAME_LENGTH EQU 8 PKMN_NAME_LENGTH EQU 11 MOVE_NAME_LENGTH EQU 13 ITEM_NAME_LENGTH EQU 13 +TRAINER_CLASS_NAME_LENGTH EQU 13 NAME_LENGTH EQU 11 LV_CHAR EQU $6e -- cgit v1.2.3 From 0fcef5fc087dc30817410d7692d53e2c382828d5 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 17 Jul 2015 17:17:10 -0400 Subject: More annotations and interpretations of functions and scripts --- constants/misc_constants.asm | 68 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'constants/misc_constants.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 9346ae0e6..32447e579 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -98,3 +98,71 @@ SWITCH_SOMETIMES EQU 1 << SWITCH_SOMETIMES_F SWITCH_RARELY EQU 1 << SWITCH_RARELY_F SWITCH_OFTEN EQU 1 << SWITCH_OFTEN_F SPRITE_GFX_LIST_CAPACITY EQU $20 + +const_value = 1 + const MOM_ITEM + const MOM_DOLL + + const_def + const DECO_BED + const DECO_CARPET + const DECO_PLANT + const DECO_POSTER + const DECO_CONSOLE + const DECO_ORNAMENT + const DECO_BIGDOLL + + const_def + const CARPET_00 + const CARPET_01 + const PLANT_02 + const PLANT_03 + const PLANT_04 + const PLANT_05 + const CARPET_06 + const POSTER_07 + const POSTER_08 + const POSTER_09 + const POSTER_0A + const CARPET_0B + const CARPET_0C + const CARPET_0D + const CARPET_0E + const CARPET_0F + const CARPET_10 + const CONSOLE_11 + const CONSOLE_12 + const CONSOLE_13 + const CARPET_14 + const CARPET_FAMICOM + const CONSTENT_SNES + const CARPET_N64 + const CARPET_VIRTUAL_BOY + const CARPET_19 + const BIGDOLL_SNORLAX + const BIGDOLL_ONIX + const BIGDOLL_LAPRAS + const CARPET_1D + const DOLL_PIKACHU + const DOLL_SURFING_PIKACHU + const DOLL_CLEFAIRY + const DOLL_JIGGLYPUFF + const DOLL_BULBASAUR + const DOLL_CHARMANDER + const DOLL_SQUIRTLE + const DOLL_POLIWAG + const DOLL_DIGLETT + const DOLL_STARMIE + const DOLL_MAGIKARP + const DOLL_ODDISH + const DOLL_GENGAR + const DOLL_SHELLDER + const DOLL_GRIMER + const DOLL_VOLTORM + const DOLL_WEEDLE + const DOLL_UNOWN + const DOLL_GEODUDE + const DOLL_MACHOP + const DOLL_TENTACOOL + const CARPET_GOLD_TROPHY + const CARPET_SILVER_TROPHY -- cgit v1.2.3 From 94129b6b451fc7770ea75ffbdcbaab4967f513bd Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 19 Jul 2015 04:58:31 -0400 Subject: Finished the decoration attributes table Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map. --- constants/misc_constants.asm | 63 -------------------------------------------- 1 file changed, 63 deletions(-) (limited to 'constants/misc_constants.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 32447e579..3e44a2d2f 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -103,66 +103,3 @@ const_value = 1 const MOM_ITEM const MOM_DOLL - const_def - const DECO_BED - const DECO_CARPET - const DECO_PLANT - const DECO_POSTER - const DECO_CONSOLE - const DECO_ORNAMENT - const DECO_BIGDOLL - - const_def - const CARPET_00 - const CARPET_01 - const PLANT_02 - const PLANT_03 - const PLANT_04 - const PLANT_05 - const CARPET_06 - const POSTER_07 - const POSTER_08 - const POSTER_09 - const POSTER_0A - const CARPET_0B - const CARPET_0C - const CARPET_0D - const CARPET_0E - const CARPET_0F - const CARPET_10 - const CONSOLE_11 - const CONSOLE_12 - const CONSOLE_13 - const CARPET_14 - const CARPET_FAMICOM - const CONSTENT_SNES - const CARPET_N64 - const CARPET_VIRTUAL_BOY - const CARPET_19 - const BIGDOLL_SNORLAX - const BIGDOLL_ONIX - const BIGDOLL_LAPRAS - const CARPET_1D - const DOLL_PIKACHU - const DOLL_SURFING_PIKACHU - const DOLL_CLEFAIRY - const DOLL_JIGGLYPUFF - const DOLL_BULBASAUR - const DOLL_CHARMANDER - const DOLL_SQUIRTLE - const DOLL_POLIWAG - const DOLL_DIGLETT - const DOLL_STARMIE - const DOLL_MAGIKARP - const DOLL_ODDISH - const DOLL_GENGAR - const DOLL_SHELLDER - const DOLL_GRIMER - const DOLL_VOLTORM - const DOLL_WEEDLE - const DOLL_UNOWN - const DOLL_GEODUDE - const DOLL_MACHOP - const DOLL_TENTACOOL - const CARPET_GOLD_TROPHY - const CARPET_SILVER_TROPHY -- cgit v1.2.3