Skip to content

Commit

Permalink
rename decomped sources
Browse files Browse the repository at this point in the history
  • Loading branch information
PikalaxALT committed Oct 20, 2024
1 parent c07375e commit 18cb5b0
Show file tree
Hide file tree
Showing 38 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion include/alph_puzzle.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "save.h"
#include "task.h"
#include "unk_0200CF18.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "yes_no_prompt.h"

typedef enum AlphPuzzles {
Expand Down
2 changes: 1 addition & 1 deletion include/bag_types_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "field_types_def.h"
#include "item.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

/*
* Return value of Bag_TryRegisterItem
Expand Down
2 changes: 1 addition & 1 deletion include/berry_pots_app_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "launch_application.h"
#include "overlay_16.h"
#include "sprite.h"
#include "unk_02018424.h"
#include "touchscreen_list_menu.h"

enum BerryPotsApp_022036FC_Action {
BERRY_POTS_APP_022036FC_ACTION_0,
Expand Down
2 changes: 1 addition & 1 deletion include/field_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "scrcmd_9.h"
#include "sys_task.h"
#include "sys_task_api.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct FollowMon {
LocalMapObject *mapObject;
Expand Down
2 changes: 1 addition & 1 deletion include/mail_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "pokedex.h"
#include "pokemon.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct MsgBankMsgNo {
u16 msgBank;
Expand Down
6 changes: 3 additions & 3 deletions include/unk_020183F0.h → include/menu_input_state.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef POKEHEARTGOLD_UNK_020183F0_H
#define POKEHEARTGOLD_UNK_020183F0_H
#ifndef POKEHEARTGOLD_MENU_INPUT_STATE_H
#define POKEHEARTGOLD_MENU_INPUT_STATE_H

#include "global.h"

Expand All @@ -15,4 +15,4 @@ typedef struct MenuInputStateMgr {
MenuInputState MenuInputStateMgr_GetState(MenuInputStateMgr *stateMgr);
void MenuInputStateMgr_SetState(MenuInputStateMgr *stateMgr, MenuInputState state);

#endif // POKEHEARTGOLD_UNK_020183F0_H
#endif // POKEHEARTGOLD_MENU_INPUT_STATE_H
2 changes: 1 addition & 1 deletion include/move_relearner.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "player_data.h"
#include "pokemon_types_def.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

#define MOVE_RELEARNER_TUTOR 0
#define MOVE_RELEARNER_RELEARN 1
Expand Down
2 changes: 1 addition & 1 deletion include/options_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "options.h"
#include "overlay_manager.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct OptionsApp_Args {
u32 unk0;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_108.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct SafariAreaCustomizerArgs {
SaveData *saveData;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_109.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct PhotoAlbumArgs {
u8 unk0;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_113.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct UnownReportArgs {
MenuInputStateMgr *menuInputStatePtr;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_14.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct PCBoxArgs {
SaveData *saveData;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_18.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "overlay_manager.h"
#include "player_data.h"
#include "pokedex.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct PokedexArgs {
Pokedex *pokedex;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_43.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct PalPadArgs {
SaveData *saveData;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_54.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "options.h"
#include "overlay_manager.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct OptionsMenuArgs {
u8 unk0[0x4];
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_58.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct ApricornBoxArgs {
u8 unk0;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_73.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "overlay_manager.h"
#include "save.h"
#include "script.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct UnkStruct_0203F4F8 {
SaveData *saveData;
Expand Down
2 changes: 1 addition & 1 deletion include/overlay_trainer_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "overlay_manager.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

#define HEAP_ID_TRAINER_CARD ((HeapID)94)

Expand Down
6 changes: 3 additions & 3 deletions include/unk_02018424.h → include/touchscreen_list_menu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef GUARD_POKEHEARTGOLD_UNK_02108424_H
#define GUARD_POKEHEARTGOLD_UNK_02108424_H
#ifndef GUARD_POKEHEARTGOLD_TOUCHSCREEN_LIST_MENU_H
#define GUARD_POKEHEARTGOLD_TOUCHSCREEN_LIST_MENU_H

#include "bg_window.h"
#include "heap.h"
Expand Down Expand Up @@ -70,4 +70,4 @@ void TouchscreenListMenu_Destroy(TouchscreenListMenu *menu);
void TouchscreenListMenu_DestroyButtons(TouchscreenListMenu *menu);
int TouchscreenListMenu_HandleInput(TouchscreenListMenu *menu);

#endif // GUARD_POKEHEARTGOLD_UNK_02108424_H
#endif // GUARD_POKEHEARTGOLD_TOUCHSCREEN_LIST_MENU_H
2 changes: 1 addition & 1 deletion include/unk_02088288.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "player_data.h"
#include "pokemon_types_def.h"
#include "save_special_ribbons.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

extern struct OVY_MGR_TEMPLATE gOverlayTemplate_PokemonSummary;

Expand Down
2 changes: 1 addition & 1 deletion include/voltorb_flip/voltorb_flip.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "overlay_manager.h"
#include "player_data.h"
#include "save.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef struct VoltorbFlipArgs {
Options *options;
Expand Down
2 changes: 1 addition & 1 deletion include/voltorb_flip/voltorb_flip_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define POKEHEARTGOLD_VOLTORB_FLIP_DATA_H

#include "bg_window.h"
#include "unk_02018424.h"
#include "touchscreen_list_menu.h"

typedef struct Ov122_021E9278 {
u8 unk0[5][2];
Expand Down
4 changes: 2 additions & 2 deletions include/voltorb_flip/voltorb_flip_work.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include "options.h"
#include "player_data.h"
#include "unk_0200CF18.h"
#include "unk_020183F0.h"
#include "unk_02018424.h"
#include "menu_input_state.h"
#include "touchscreen_list_menu.h"

typedef struct Ov122_021E70B8 {
BgConfig *bgConfig;
Expand Down
2 changes: 1 addition & 1 deletion include/yes_no_prompt.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "heap.h"
#include "palette.h"
#include "touch_hitbox_controller.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

typedef enum YesNoResponse {
YESNORESPONSE_WAIT = 0,
Expand Down
4 changes: 2 additions & 2 deletions main.lsf
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Static main
Object asm/unk_02017FAC.o
Object asm/unk_02018000.o
Object src/unk_02018380.o
Object src/unk_020183F0.o
Object src/unk_02018424.o
Object src/menu_input_state.o
Object src/touchscreen_list_menu.o
Object src/camera_translation.o
Object asm/unk_020192D0.o
Object src/system.o
Expand Down
2 changes: 1 addition & 1 deletion src/alph_puzzle.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "unk_0200B150.h"
#include "unk_0200CF18.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_020210A0.h"
#include "vram_transfer_manager.h"
#include "yes_no_prompt.h"
Expand Down
2 changes: 1 addition & 1 deletion src/application/view_photo.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "text.h"
#include "touchscreen.h"
#include "unk_02005D10.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_02068F84.h"

typedef enum ViewPhotoTaskState {
Expand Down
2 changes: 1 addition & 1 deletion src/bag_view.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "player_data.h"
#include "save.h"
#include "seal_case.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

static u16 GetCoinCount(SaveData *saveData);
static u32 GetSealCount(SaveData *saveData);
Expand Down
2 changes: 1 addition & 1 deletion src/berry_pots_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "unk_0200B150.h"
#include "unk_0200CF18.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_020210A0.h"
#include "vram_transfer_manager.h"
#include "yes_no_prompt.h"
Expand Down
2 changes: 1 addition & 1 deletion src/mail_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "player_data.h"
#include "save_vars_flags.h"
#include "sys_flags.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"

EasyChatArgs *EasyChat_CreateArgs(u8 args, u8 a1, SaveData *saveData, MenuInputStateMgr *menuInputStateMgr, HeapID heapId) {
EasyChatArgs *ptr = AllocFromHeap(heapId, sizeof(EasyChatArgs));
Expand Down
2 changes: 1 addition & 1 deletion src/unk_020183F0.c → src/menu_input_state.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "unk_020183F0.h"
#include "menu_input_state.h"

#include "global.h"

Expand Down
2 changes: 1 addition & 1 deletion src/naming_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "unk_0200FA24.h"
#include "unk_02013534.h"
#include "unk_020163E0.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "vram_transfer_manager.h"

#define NAME_SCREEN_CONTROL_DAKU 0xD001 // unused
Expand Down
2 changes: 1 addition & 1 deletion src/options_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "unk_02005D10.h"
#include "unk_0200CF18.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_0203A3B0.h"
#include "vram_transfer_manager.h"

Expand Down
2 changes: 1 addition & 1 deletion src/party_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "system.h"
#include "unk_02005D10.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_020210A0.h"
#include "unk_0203A3B0.h"
#include "unk_02066EDC.h"
Expand Down
2 changes: 1 addition & 1 deletion src/start_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "unk_02005D10.h"
#include "unk_0200ACF0.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "unk_02034B0C.h"
#include "unk_02037C94.h"
#include "unk_02054E00.h"
Expand Down
2 changes: 1 addition & 1 deletion src/touch_save_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "task.h"
#include "text.h"
#include "unk_02005D10.h"
#include "unk_020183F0.h"
#include "menu_input_state.h"
#include "yes_no_prompt.h"

FS_EXTERN_OVERLAY(OVY_123);
Expand Down
2 changes: 1 addition & 1 deletion src/unk_02018424.c → src/touchscreen_list_menu.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "unk_02018424.h"
#include "touchscreen_list_menu.h"

#include "global.h"

Expand Down
4 changes: 2 additions & 2 deletions src/voltorb_flip/voltorb_flip.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
#include "unk_02009D48.h"
#include "unk_0200CF18.h"
#include "unk_0200FA24.h"
#include "unk_020183F0.h"
#include "unk_02018424.h"
#include "menu_input_state.h"
#include "touchscreen_list_menu.h"
#include "yes_no_prompt.h"

typedef enum CoinDisplay {
Expand Down

0 comments on commit 18cb5b0

Please sign in to comment.