Merge pull request #235 from GriffinRichards/doc-miscscript
Document some misc small scripts
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef GUARD_DAYCARE_CONSTANTS_H
|
||||
#define GUARD_DAYCARE_CONSTANTS_H
|
||||
|
||||
// Parent compatability scores
|
||||
#define PARENTS_INCOMPATIBLE 0
|
||||
#define PARENTS_LOW_COMPATIBILITY 20
|
||||
#define PARENTS_MED_COMPATABILITY 50
|
||||
#define PARENTS_MAX_COMPATABILITY 70
|
||||
|
||||
// Daycare state
|
||||
#define DAYCARE_NO_MONS 0
|
||||
#define DAYCARE_EGG_WAITING 1
|
||||
#define DAYCARE_ONE_MON 2
|
||||
#define DAYCARE_TWO_MONS 3
|
||||
|
||||
#define INHERITED_IV_COUNT 3
|
||||
#define EGG_HATCH_LEVEL 5
|
||||
#define EGG_GENDER_MALE 0x8000 // used to create a male egg from a female-only parent species (e.g. Nidoran)
|
||||
|
||||
#define DAYCARE_LEVEL_MENU_EXIT 5
|
||||
#define DAYCARE_EXITED_LEVEL_MENU 2 // would be redundant with above if GF had used the same value
|
||||
|
||||
// Array buffers
|
||||
#define EGG_MOVES_ARRAY_COUNT 10
|
||||
#define EGG_LVL_UP_MOVES_ARRAY_COUNT 50
|
||||
|
||||
#endif //GUARD_DAYCARE_CONSTANTS_H
|
||||
@@ -104,14 +104,14 @@
|
||||
#define FLAG_HIDE_DOJO_HITMONLEE_BALL 0x060
|
||||
#define FLAG_HIDE_DOJO_HITMONCHAN_BALL 0x061
|
||||
#define FLAG_HIDE_CINNABAR_BILL 0x062
|
||||
#define FLAG_HIDE_UNION_ROOM_1 0x063
|
||||
#define FLAG_HIDE_UNION_ROOM_2 0x064
|
||||
#define FLAG_HIDE_UNION_ROOM_3 0x065
|
||||
#define FLAG_HIDE_UNION_ROOM_4 0x066
|
||||
#define FLAG_HIDE_UNION_ROOM_5 0x067
|
||||
#define FLAG_HIDE_UNION_ROOM_6 0x068
|
||||
#define FLAG_HIDE_UNION_ROOM_7 0x069
|
||||
#define FLAG_HIDE_UNION_ROOM_8 0x06A
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_1 0x063
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_2 0x064
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_3 0x065
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_4 0x066
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_5 0x067
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_6 0x068
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_7 0x069
|
||||
#define FLAG_HIDE_UNION_ROOM_PLAYER_8 0x06A
|
||||
#define FLAG_HIDE_CINNABAR_SEAGALLOP 0x06B
|
||||
#define FLAG_HIDE_SAFFRON_FAN_CLUB_BLACKBELT 0x06C
|
||||
#define FLAG_HIDE_SAFFRON_FAN_CLUB_ROCKER 0x06D
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#define MALE 0
|
||||
#define FEMALE 1
|
||||
#define GENDER_COUNT 2
|
||||
|
||||
#define OPTIONS_BUTTON_MODE_HELP 0
|
||||
#define OPTIONS_BUTTON_MODE_LR 1
|
||||
|
||||
@@ -78,4 +78,35 @@
|
||||
#define LISTMENU_BERRY_POWDER 5
|
||||
#define LISTMENU_TRAINER_TOWER_FLOORS 6
|
||||
|
||||
// Std String Ids
|
||||
#define STDSTRING_COOL 0
|
||||
#define STDSTRING_BEAUTY 1
|
||||
#define STDSTRING_CUTE 2
|
||||
#define STDSTRING_SMART 3
|
||||
#define STDSTRING_TOUGH 4
|
||||
#define STDSTRING_COOL2 5
|
||||
#define STDSTRING_BEAUTY2 6
|
||||
#define STDSTRING_CUTE2 7
|
||||
#define STDSTRING_SMART2 8
|
||||
#define STDSTRING_TOUGH2 9
|
||||
#define STDSTRING_ITEMS 10
|
||||
#define STDSTRING_KEY_ITEMS 11
|
||||
#define STDSTRING_POKEBALLS 12
|
||||
#define STDSTRING_TMHMS 13
|
||||
#define STDSTRING_BERRIES 14
|
||||
#define STDSTRING_BOULDER_BADGE 15
|
||||
#define STDSTRING_CASCADE_BADGE 16
|
||||
#define STDSTRING_THUNDER_BADGE 17
|
||||
#define STDSTRING_RAINBOW_BADGE 18
|
||||
#define STDSTRING_SOUL_BADGE 19
|
||||
#define STDSTRING_MARSH_BADGE 20
|
||||
#define STDSTRING_VOLCANO_BADGE 21
|
||||
#define STDSTRING_EARTH_BADGE 22
|
||||
#define STDSTRING_COINS 23
|
||||
#define STDSTRING_ITEMS_POCKET 24
|
||||
#define STDSTRING_KEY_ITEMS_POCKET 25
|
||||
#define STDSTRING_POKEBALLS_POCKET 26
|
||||
#define STDSTRING_TM_CASE 27
|
||||
#define STDSTRING_BERRY_POUCH 28
|
||||
|
||||
#endif //GUARD_CONSTANTS_MENU_H
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
#define EGG_GROUP_DRAGON 14
|
||||
#define EGG_GROUP_UNDISCOVERED 15
|
||||
|
||||
#define EGG_GROUPS_PER_MON 2
|
||||
|
||||
// Pokemon natures
|
||||
#define NATURE_HARDY 0
|
||||
#define NATURE_LONELY 1
|
||||
|
||||
@@ -206,6 +206,8 @@
|
||||
#define MAPSEC_SPECIAL_AREA 0xC4
|
||||
#define MAPSEC_NONE 0xC5
|
||||
|
||||
#define MAPSEC_IN_GAME_TRADE 0xFE
|
||||
#define METLOC_SPECIAL_EGG 0xFD
|
||||
#define METLOC_IN_GAME_TRADE 0xFE
|
||||
#define METLOC_FATEFUL_ENCOUNTER 0xFF
|
||||
|
||||
#endif //GUARD_CONSTANTS_REGION_MAP_H
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
#define EGG_HATCH_LEVEL 5
|
||||
|
||||
u8 *GetMonNick(struct Pokemon *mon, u8 *dest);
|
||||
u8 *GetBoxMonNick(struct BoxPokemon *mon, u8 *dest);
|
||||
u8 CountPokemonInDaycare(struct DayCare *daycare);
|
||||
|
||||
@@ -1162,7 +1162,7 @@ extern const u8 EventScript_TryDoNormalTrainerBattle[];
|
||||
extern const u8 EventScript_TryDoDoubleRematchBattle[];
|
||||
extern const u8 EventScript_TryDoRematchBattle[];
|
||||
extern const u8 gUnknown_81A4EB4[];
|
||||
extern const u8 EventScript_1C555B[];
|
||||
extern const u8 Test_EventScript_Sign[];
|
||||
|
||||
// new_game
|
||||
extern const u8 EventScript_ResetAllMapFlags[];
|
||||
|
||||
Reference in New Issue
Block a user