Port/decomp scrcmd
This commit is contained in:
9
include/battle_frontier_2.h
Normal file
9
include/battle_frontier_2.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_BATTLE_FRONTIER_2_H
|
||||
#define GUARD_BATTLE_FRONTIER_2_H
|
||||
|
||||
void sub_81A8934(u8);
|
||||
void sub_81A895C(void);
|
||||
u16 sub_81A89A0(u8);
|
||||
void sub_81A8AF8(void);
|
||||
|
||||
#endif // GUARD_BATTLE_FRONTIER_2_H
|
||||
@@ -1,6 +1,15 @@
|
||||
#ifndef GUARD_BATTLE_SETUP_H
|
||||
#define GUARD_BATTLE_SETUP_H
|
||||
|
||||
void BattleSetup_StartScriptedWildBattle(void);
|
||||
u8 BattleSetup_GetTerrainId(void);
|
||||
u8 *BattleSetup_ConfigureTrainerBattle(const u8 *data);
|
||||
|
||||
u8 HasTrainerAlreadyBeenFought(u16);
|
||||
void trainer_flag_set(u16);
|
||||
void trainer_flag_clear(u16);
|
||||
void BattleSetup_StartTrainerBattle(void);
|
||||
u8 *BattleSetup_GetScriptAddrAfterBattle(void);
|
||||
u8 *BattleSetup_GetTrainerPostBattleScript(void);
|
||||
|
||||
#endif // GUARD_BATTLE_SETUP_H
|
||||
|
||||
8
include/clock.h
Normal file
8
include/clock.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_CLOCK_H
|
||||
#define GUARD_CLOCK_H
|
||||
|
||||
// TODO: time of day and seconds in a day defines
|
||||
|
||||
void DoTimeBasedEvents(void);
|
||||
|
||||
#endif
|
||||
@@ -6,7 +6,7 @@ void ShowCoinsWindow(u32 coinAmount, u8 x, u8 y);
|
||||
void HideCoinsWindow(void);
|
||||
u16 GetCoins(void);
|
||||
void SetCoins(u16 coinAmount);
|
||||
bool8 AddCoins(u16 toAdd);
|
||||
bool8 SubtractCoins(u16 toSub);
|
||||
bool8 GiveCoins(u16 toAdd);
|
||||
bool8 TakeCoins(u16 toSub);
|
||||
|
||||
#endif // GUARD_COINS_H
|
||||
|
||||
8
include/contest_link_80F57C4.h
Normal file
8
include/contest_link_80F57C4.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_CONTEST_LINK_80F57C4_H
|
||||
#define GUARD_CONTEST_LINK_80F57C4_H
|
||||
|
||||
void sub_80F840C(void);
|
||||
void sub_80F8484(void);
|
||||
void sub_80F84C4(u8);
|
||||
|
||||
#endif // GUARD_CONTEST_LINK_80F57C4_H
|
||||
6
include/contest_painting.h
Normal file
6
include/contest_painting.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_CONTESTPAINTING_H
|
||||
#define GUARD_CONTESTPAINTING_H
|
||||
|
||||
void sub_812FDA8(u32);
|
||||
|
||||
#endif
|
||||
9
include/data2.h
Normal file
9
include/data2.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_DATA2_H
|
||||
#define GUARD_DATA2_H
|
||||
|
||||
extern const u8 gSpeciesNames[][POKEMON_NAME_LENGTH + 1];
|
||||
extern const u8 gMoveNames[][13];
|
||||
extern const u8 gAbilityNames[][13];
|
||||
extern const u8 gTypeNames[][7];
|
||||
|
||||
#endif // GUARD_DATA2_H
|
||||
18
include/decoration.h
Normal file
18
include/decoration.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef GUARD_DECORATION_H
|
||||
#define GUARD_DECORATION_H
|
||||
|
||||
struct Decoration
|
||||
{
|
||||
/*0x00*/ u8 id;
|
||||
/*0x01*/ u8 name[16];
|
||||
/*0x11*/ u8 permission;
|
||||
/*0x12*/ u8 shape;
|
||||
/*0x13*/ u8 category;
|
||||
/*0x14*/ u16 price;
|
||||
/*0x18*/ const u8 *description;
|
||||
/*0x1c*/ const u16 *tiles;
|
||||
};
|
||||
|
||||
extern const struct Decoration gDecorations[];
|
||||
|
||||
#endif // GUARD_DECORATION_H
|
||||
10
include/decoration_inventory.h
Normal file
10
include/decoration_inventory.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef GUARD_DECORATION_INVENTORY_H
|
||||
#define GUARD_DECORATION_INVENTORY_H
|
||||
|
||||
void ClearDecorationInventories(void);
|
||||
u8 CheckHasDecoration(u8);
|
||||
u8 DecorationAdd(u8);
|
||||
u8 DecorationCheckSpace(u8);
|
||||
s8 DecorationRemove(u8);
|
||||
|
||||
#endif // GUARD_DECORATION_INVENTORY_H
|
||||
@@ -27,7 +27,7 @@ bool8 VarSet(u16 id, u16 value);
|
||||
u8 VarGetFieldObjectGraphicsId(u8 id);
|
||||
u8 *GetFlagPointer(u16 id);
|
||||
u8 FlagSet(u16 id);
|
||||
u8 FlagReset(u16 id);
|
||||
u8 FlagClear(u16 id);
|
||||
bool8 FlagGet(u16 id);
|
||||
|
||||
extern u16 gSpecialVar_0x8000;
|
||||
|
||||
11
include/field_door.h
Normal file
11
include/field_door.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef GUARD_FIELDDOOR_H
|
||||
#define GUARD_FIELDDOOR_H
|
||||
|
||||
void FieldSetDoorOpened(u32, u32);
|
||||
void FieldSetDoorClosed(u32, u32);
|
||||
s8 FieldAnimateDoorClose(u32, u32);
|
||||
s8 FieldAnimateDoorOpen(u32, u32);
|
||||
bool8 FieldIsDoorAnimationRunning(void);
|
||||
u32 GetDoorSoundEffect(u32 x, u32 y);
|
||||
|
||||
#endif
|
||||
@@ -1,7 +1,3 @@
|
||||
//
|
||||
// Created by Scott Norton on 9/15/17.
|
||||
//
|
||||
|
||||
#ifndef GUARD_FIELD_EFFECTS_H
|
||||
#define GUARD_FIELD_EFFECTS_H
|
||||
|
||||
@@ -73,8 +69,9 @@ enum FieldEffectScriptIdx
|
||||
FLDEFF_USE_TELEPORT
|
||||
};
|
||||
|
||||
extern u32 gFieldEffectSpawnParams[8];
|
||||
|
||||
u8 FieldEffectStart(u8);
|
||||
bool8 FieldEffectActiveListContains(u8 id);
|
||||
|
||||
extern u32 gFieldEffectArguments[8];
|
||||
|
||||
#endif //GUARD_FIELD_EFFECTS_H
|
||||
|
||||
12
include/field_fadetransition.h
Normal file
12
include/field_fadetransition.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef GUARD_FIELD_FADETRANSITION_H
|
||||
#define GUARD_FIELD_FADETRANSITION_H
|
||||
|
||||
void sub_80AF734(void);
|
||||
void sp13E_warp_to_last_warp(void);
|
||||
void sub_80AF7D0(void);
|
||||
void sp13F_fall_to_last_warp(void);
|
||||
|
||||
void sub_80AF848(void);
|
||||
void sub_80AF87C(void);
|
||||
|
||||
#endif // GUARD_FIELD_FADETRANSITION_H
|
||||
@@ -33,6 +33,7 @@ u8 sub_808D4F4(void);
|
||||
void RemoveFieldObjectByLocalIdAndMap(u8, u8, u8);
|
||||
void npc_load_two_palettes__no_record(u16, u8);
|
||||
void npc_load_two_palettes__and_record(u16, u8);
|
||||
void sub_808EBA8(u8, u8, u8, s16, s16);
|
||||
void pal_patch_for_npc(u16, u8);
|
||||
void sub_808E16C(s16, s16);
|
||||
void sub_8092FF0(s16, s16, s16 *, s16 *);
|
||||
@@ -63,6 +64,7 @@ void npc_coords_shift(struct MapObject *, s16, s16);
|
||||
void sub_808EB08(struct MapObject *, s16, s16);
|
||||
void sub_808F254(u8, u8, u8);
|
||||
void FieldObjectStep(struct MapObject *, struct Sprite *, bool8(struct MapObject *, struct Sprite *));
|
||||
u8 FieldObjectFaceOppositeDirection(struct MapObject *, u8);
|
||||
u8 GetOppositeDirection(u8);
|
||||
u8 GetStepInPlaceDelay4AnimId(u32);
|
||||
u8 GetStepInPlaceDelay8AnimId(u32);
|
||||
@@ -71,6 +73,7 @@ u8 GetStepInPlaceDelay32AnimId(u32);
|
||||
u8 npc_block_way(struct MapObject *, s16, s16, u32);
|
||||
void MoveCoords(u8, s16 *, s16 *);
|
||||
bool8 FieldObjectIsSpecialAnimActive(struct MapObject *);
|
||||
u8 FieldObjectClearAnimIfSpecialAnimFinished(struct MapObject *);
|
||||
|
||||
// Exported data declarations
|
||||
|
||||
|
||||
7
include/field_map_obj_helpers.h
Normal file
7
include/field_map_obj_helpers.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_FIELDMAPOBJHELP_H
|
||||
#define GUARD_FIELDMAPOBJHELP_H
|
||||
|
||||
void UnfreezeMapObjects(void);
|
||||
void sub_8097B78(u8, u8);
|
||||
|
||||
#endif
|
||||
10
include/field_message_box.h
Normal file
10
include/field_message_box.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef GUARD_FIELD_MESSAGE_BOX_H
|
||||
#define GUARD_FIELD_MESSAGE_BOX_H
|
||||
|
||||
bool8 ShowFieldMessage(const u8 *message);
|
||||
bool8 sub_8098238(const u8 *message);
|
||||
bool8 ShowFieldAutoScrollMessage(const u8 *message);
|
||||
void HideFieldMessageBox(void);
|
||||
bool8 IsFieldMessageBoxHidden(void);
|
||||
|
||||
#endif // GUARD_FIELD_MESSAGE_BOX_H
|
||||
@@ -1,7 +1,3 @@
|
||||
//
|
||||
// Created by Scott Norton on 9/6/17.
|
||||
//
|
||||
|
||||
#ifndef GUARD_FIELD_PLAYER_AVATAR_H
|
||||
#define GUARD_FIELD_PLAYER_AVATAR_H
|
||||
|
||||
@@ -14,4 +10,6 @@ u8 player_get_direction_lower_nybble(void);
|
||||
u8 player_get_direction_upper_nybble(void);
|
||||
u8 player_get_x22(void);
|
||||
|
||||
void sub_808D074(u8);
|
||||
|
||||
#endif //GUARD_FIELD_PLAYER_AVATAR_H
|
||||
|
||||
8
include/field_screen_effect.h
Normal file
8
include/field_screen_effect.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_FIELD_SCREEN_EFFECT_H
|
||||
#define GUARD_FIELD_SCREEN_EFFECT_H
|
||||
|
||||
void sub_80AF79C(void);
|
||||
void sub_80B009C(u8);
|
||||
void sub_80B0244(void);
|
||||
|
||||
#endif // GUARD_FIELD_SCREEN_EFFECT_H
|
||||
6
include/field_specials.h
Normal file
6
include/field_specials.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_FIELD_SPECIALS_H
|
||||
#define GUARD_FIELD_SPECIALS_H
|
||||
|
||||
u8 GetLeadMonIndex(void);
|
||||
|
||||
#endif // GUARD_FIELD_SPECIALS_H
|
||||
6
include/field_tasks.h
Normal file
6
include/field_tasks.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_FIELD_TASKS_H
|
||||
#define GUARD_FIELD_TASKS_H
|
||||
|
||||
void ActivatePerStepCallback(u8);
|
||||
|
||||
#endif // GUARD_FIELD_TASKS_H
|
||||
12
include/field_weather.h
Normal file
12
include/field_weather.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef GUARD_WEATHER_H
|
||||
#define GUARD_WEATHER_H
|
||||
|
||||
void fade_screen(u8, s8);
|
||||
|
||||
void SetSav1Weather(u32);
|
||||
u8 GetSav1Weather(void);
|
||||
void sub_80AEDBC(void);
|
||||
|
||||
void DoCurrentWeather(void);
|
||||
|
||||
#endif // GUARD_WEATHER_H
|
||||
@@ -1,16 +1,8 @@
|
||||
//
|
||||
// Created by scott on 9/16/2017.
|
||||
//
|
||||
|
||||
#ifndef GUARD_FIELDMAP_H
|
||||
#define GUARD_FIELDMAP_H
|
||||
|
||||
// Exported type declarations
|
||||
|
||||
// Exported RAM declarations
|
||||
|
||||
// Exported ROM declarations
|
||||
u8 MapGridGetMetatileBehaviorAt(s16, s16);
|
||||
void MapGridSetMetatileIdAt(int, int, u16);
|
||||
void GetCameraCoords(u16*, u16*);
|
||||
bool8 MapGridIsImpassableAt(s16, s16);
|
||||
s32 GetMapBorderIdAt(s16, s16);
|
||||
|
||||
@@ -31,6 +31,7 @@ extern struct BagPocket gBagPockets[];
|
||||
|
||||
void GetBerryCountString(u8* dst, const u8* berryName, u32 quantity);
|
||||
void CopyItemName(u16 itemId, u8 *string);
|
||||
void CopyItemNameHandlePlural(u16 itemId, u8 *string, u32 quantity);
|
||||
bool8 IsBagPocketNonEmpty(u8 pocket);
|
||||
bool8 CheckBagHasItem(u16 itemId, u16 count);
|
||||
bool8 CheckBagHasSpace(u16 itemId, u16 count);
|
||||
|
||||
11
include/map_obj_lock.h
Normal file
11
include/map_obj_lock.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef GUARD_MAP_OBJ_LOCK_H
|
||||
#define GUARD_MAP_OBJ_LOCK_H
|
||||
|
||||
bool8 sub_80983C4(void);
|
||||
void ScriptFreezeMapObjects(void);
|
||||
bool8 sub_809847C(void);
|
||||
void LockSelectedMapObject(void);
|
||||
void sub_8098630(void);
|
||||
bool8 sub_8098734(void);
|
||||
|
||||
#endif // GUARD_MAP_OBJ_LOCK_H
|
||||
@@ -5,7 +5,7 @@ u32 GetMoney(u32* moneyPtr);
|
||||
void SetMoney(u32* moneyPtr, u32 newValue);
|
||||
bool8 IsEnoughMoney(u32* moneyPtr, u32 cost);
|
||||
void AddMoney(u32* moneyPtr, u32 toAdd);
|
||||
void SubtractMoney(u32* moneyPtr, u32 toSub);
|
||||
void RemoveMoney(u32* moneyPtr, u32 toSub);
|
||||
bool8 IsEnoughForCostInVar0x8005(void);
|
||||
void SubtractMoneyFromVar0x8005(void);
|
||||
void PrintMoneyAmountInMoneyBox(u8 windowId, int amount, u8 speed);
|
||||
|
||||
8
include/mystery_event_script.h
Normal file
8
include/mystery_event_script.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_MYSTERY_EVENT_SCRIPT_H
|
||||
#define GUARD_MYSTERY_EVENT_SCRIPT_H
|
||||
|
||||
u32 RunMysteryEventScript(u8 *);
|
||||
void SetMysteryEventScriptStatus(u32 val);
|
||||
u16 GetRecordMixingGift(void);
|
||||
|
||||
#endif // GUARD_MYSTERY_EVENT_SCRIPT_H
|
||||
8
include/new_menu_helpers.h
Normal file
8
include/new_menu_helpers.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_NEW_MENU_HELPERS_H
|
||||
#define GUARD_NEW_MENU_HELPERS_H
|
||||
|
||||
void sub_81973A4(void);
|
||||
void sub_81973C4(u8, u8);
|
||||
void sub_819746C(u8 windowId, bool8 copyToVram);
|
||||
|
||||
#endif // GUARD_NEW_MENU_HELPERS_H
|
||||
58
include/overworld.h
Normal file
58
include/overworld.h
Normal file
@@ -0,0 +1,58 @@
|
||||
#ifndef GUARD_ROM4_H
|
||||
#define GUARD_ROM4_H
|
||||
|
||||
struct UnkPlayerStruct
|
||||
{
|
||||
u8 player_field_0;
|
||||
u8 player_field_1;
|
||||
};
|
||||
|
||||
struct LinkPlayerMapObject
|
||||
{
|
||||
u8 active;
|
||||
u8 linkPlayerId;
|
||||
u8 mapObjId;
|
||||
u8 mode;
|
||||
};
|
||||
|
||||
struct UCoords32
|
||||
{
|
||||
u32 x, y;
|
||||
};
|
||||
|
||||
extern struct LinkPlayerMapObject gLinkPlayerMapObjects[4];
|
||||
|
||||
void IncrementGameStat(u8 index);
|
||||
|
||||
void Overworld_SetMapObjTemplateCoords(u8, s16, s16);
|
||||
void Overworld_SetMapObjTemplateMovementType(u8, u8);
|
||||
|
||||
void Overworld_SetWarpDestination(s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
|
||||
void saved_warp2_set_2(int unused, s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
void Overworld_SetHealLocationWarp(u8);
|
||||
void sub_8084DD4(s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
void sub_8084E2C(s8, s8, s8, s8, s8);
|
||||
void sub_8084E80(s8, s8, s8, s8, s8);
|
||||
void sub_8084EBC(s16, s16);
|
||||
|
||||
void player_avatar_init_params_reset(void);
|
||||
|
||||
void Overworld_SetFlashLevel(s32 a1);
|
||||
//u8 Overworld_GetFlashLevel(void);
|
||||
void sub_8085524(u16);
|
||||
|
||||
void Overworld_SetSavedMusic(u16);
|
||||
void Overworld_ChangeMusicToDefault(void);
|
||||
void Overworld_ChangeMusicTo(u16);
|
||||
|
||||
bool32 is_c1_link_related_active(void);
|
||||
|
||||
void strange_npc_table_clear(void);
|
||||
const struct MapHeader *get_mapheader_by_bank_and_number(u8, u8);
|
||||
void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *);
|
||||
void sub_8086230(void);
|
||||
void c2_exit_to_overworld_2_switch(void);
|
||||
void c2_exit_to_overworld_1_continue_scripts_restart_music(void);
|
||||
|
||||
#endif //GUARD_ROM4_H
|
||||
@@ -8,6 +8,9 @@
|
||||
#define gPaletteFade_delay (gPaletteFade.multipurpose2) // normal and hardware fade
|
||||
#define gPaletteFade_submode (gPaletteFade.multipurpose2) // fast fade
|
||||
|
||||
#define PLTT_BUFFER_SIZE 0x200
|
||||
#define PLTT_DECOMP_BUFFER_SIZE (PLTT_BUFFER_SIZE * 2)
|
||||
|
||||
enum
|
||||
{
|
||||
FAST_FADE_IN_FROM_WHITE,
|
||||
|
||||
6
include/party_menu.h
Normal file
6
include/party_menu.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_PARTY_MENU_H
|
||||
#define GUARD_PARTY_MENU_H
|
||||
|
||||
bool8 pokemon_has_move(struct Pokemon *, u16);
|
||||
|
||||
#endif // GUARD_PARTY_MENU_H
|
||||
7
include/pokemon_3.h
Normal file
7
include/pokemon_3.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_POKEMON_3_H
|
||||
#define GUARD_POKEMON_3_H
|
||||
|
||||
const u8* GetTrainerClassNameFromId(u16 trainerId);
|
||||
const u8* GetTrainerNameFromId(u16 trainerId);
|
||||
|
||||
#endif // GUARD_POKEMON_3_H
|
||||
@@ -1,33 +0,0 @@
|
||||
|
||||
#ifndef GUARD_ROM4_H
|
||||
#define GUARD_ROM4_H
|
||||
|
||||
struct UnkPlayerStruct
|
||||
{
|
||||
u8 player_field_0;
|
||||
u8 player_field_1;
|
||||
};
|
||||
|
||||
struct LinkPlayerMapObject
|
||||
{
|
||||
u8 active;
|
||||
u8 linkPlayerId;
|
||||
u8 mapObjId;
|
||||
u8 mode;
|
||||
};
|
||||
|
||||
struct UCoords32
|
||||
{
|
||||
u32 x, y;
|
||||
};
|
||||
|
||||
|
||||
extern struct LinkPlayerMapObject gLinkPlayerMapObjects[4];
|
||||
|
||||
void strange_npc_table_clear(void);
|
||||
const struct MapHeader *get_mapheader_by_bank_and_number(u8, u8);
|
||||
void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *);
|
||||
void sub_8086230(void);
|
||||
void c2_exit_to_overworld_2_switch(void);
|
||||
|
||||
#endif //GUARD_ROM4_H
|
||||
13
include/script_menu.h
Normal file
13
include/script_menu.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef GUARD_SCRIPTMENU_H
|
||||
#define GUARD_SCRIPTMENU_H
|
||||
|
||||
extern const u8 *const gUnknown_0858BAF0[];
|
||||
|
||||
bool8 ScriptMenu_Multichoice(u8 left, u8 top, u8 var3, u8 var4);
|
||||
bool8 ScriptMenu_MultichoiceWithDefault(u8 left, u8 top, u8 var3, u8 var4, u8 var5);
|
||||
bool8 ScriptMenu_YesNo(u8 var1, u8 var2);
|
||||
bool8 ScriptMenu_MultichoiceGrid(u8 left, u8 top, u8 multichoiceId, u8 a4, u8 columnCount);
|
||||
bool8 ScriptMenu_ShowPokemonPic(u16 var1, u8 var2, u8 var3);
|
||||
bool8 (*ScriptMenu_GetPicboxWaitFunc(void))(void);
|
||||
|
||||
#endif
|
||||
8
include/script_movement.h
Normal file
8
include/script_movement.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_SCRIPT_MOVEMENT_H
|
||||
#define GUARD_SCRIPT_MOVEMENT_H
|
||||
|
||||
bool8 ScriptMovement_StartObjectMovementScript(u8, u8, u8, u8 *);
|
||||
bool8 ScriptMovement_IsObjectMovementFinished(u8, u8, u8);
|
||||
void sub_80D338C(void);
|
||||
|
||||
#endif // GUARD_SCRIPT_MOVEMENT_H
|
||||
10
include/script_pokemon_80F8.h
Normal file
10
include/script_pokemon_80F8.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef GUARD_SCRIPTPOKE80F8_H
|
||||
#define GUARD_SCRIPTPOKE80F8_H
|
||||
|
||||
void ShowContestWinner(void);
|
||||
u8 ScriptGiveMon(u16, u8, u16, u32, u32, u8);
|
||||
u8 ScriptGiveEgg(u16);
|
||||
void CreateScriptedWildMon(u16, u8, u16);
|
||||
void ScriptSetMonMoveSlot(u8, u16, u8);
|
||||
|
||||
#endif
|
||||
6
include/script_pokemon_81B9.h
Normal file
6
include/script_pokemon_81B9.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_SCRIPTPOKE81B9_H
|
||||
#define GUARD_SCRIPTPOKE81B9_H
|
||||
|
||||
void sub_81B9404(void);
|
||||
|
||||
#endif
|
||||
8
include/shop.h
Normal file
8
include/shop.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef GUARD_SHOP_H
|
||||
#define GUARD_SHOP_H
|
||||
|
||||
void CreatePokemartMenu(u16 *);
|
||||
void CreateDecorationShop1Menu(u16 *);
|
||||
void CreateDecorationShop2Menu(u16 *);
|
||||
|
||||
#endif // GUARD_SHOP_H
|
||||
6
include/slot_machine.h
Normal file
6
include/slot_machine.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef GUARD_SLOT_MACHINE_H
|
||||
#define GUARD_SLOT_MACHINE_H
|
||||
|
||||
void PlaySlotMachine(u8, void *);
|
||||
|
||||
#endif // GUARD_SLOT_MACHINE_H
|
||||
@@ -170,6 +170,7 @@ typedef struct {
|
||||
u8 flag_0:1;
|
||||
u8 flag_1:1;
|
||||
u8 flag_2:1;
|
||||
u8 flag_3:1;
|
||||
} TextFlags;
|
||||
|
||||
extern TextFlags gTextFlags;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define GUARD_TRAINER_SEE_H
|
||||
|
||||
void sub_80B4578(struct MapObject *);
|
||||
u8 sub_80B47BC(void);
|
||||
void sub_8155D78(struct MapObject *);
|
||||
|
||||
#endif //GUARD_TRAINER_SEE_H
|
||||
|
||||
7
include/tv.h
Normal file
7
include/tv.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_TV_H
|
||||
#define GUARD_TV_H
|
||||
|
||||
bool8 GetPriceReduction(u8);
|
||||
size_t sub_80EF370(int);
|
||||
|
||||
#endif // GUARD_TV_H
|
||||
Reference in New Issue
Block a user