diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-03-25 09:39:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 09:39:44 -0700 |
commit | 9f98e08fb99112eedd56873b5557c5e4e757dbba (patch) | |
tree | 439b1bce980e4452fcc92999eb62df354ef9b790 /src/code_8090208.c | |
parent | a0264b99956cc67dd13704b758dc1f2f4c1480ca (diff) | |
parent | 57f540b320ae8439fe4b42c6149641b877c7ea73 (diff) |
Save work
Diffstat (limited to 'src/code_8090208.c')
-rw-r--r-- | src/code_8090208.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/code_8090208.c b/src/code_8090208.c deleted file mode 100644 index 8322ffc..0000000 --- a/src/code_8090208.c +++ /dev/null @@ -1,34 +0,0 @@ -#include "global.h" -#include "dungeon.h" -#include "code_800D090.h" - -extern const char gUnknown_8108F10[]; -extern const char gUnknown_8108F18[]; -extern const char gUnknown_8108F2C[]; - -struct unkDungeonStruct -{ - u8 index; - u8 floor; -}; - -void sub_8090208(u8 *buffer, struct unkDungeonStruct *dungeonLocation) -{ - sprintf_2(buffer, gUnknown_8108F10, gDungeonNames[dungeonLocation->index].name1); // {COLOR_2 YELLOW_4}%s{END_COLOR_TEXT_2} (normal floor print (no B) -} - -void PrintDungeonLocationtoBuffer(u8 *buffer, struct unkDungeonStruct *dungeonLocation) -{ - if(gDungeons[dungeonLocation->index].stairDirection != 0){ - sprintf_2(buffer, gUnknown_8108F18, gDungeonNames[dungeonLocation->index].name1, dungeonLocation->floor); //_F - } - else - { - sprintf_2(buffer, gUnknown_8108F2C, gDungeonNames[dungeonLocation->index].name1, dungeonLocation->floor); // B _F - } -} - -void CopyDungeonName1toBuffer(u8 *buffer, struct unkDungeonStruct *dungeonLocation) -{ - strncpy(buffer, gDungeonNames[dungeonLocation->index].name1, 0x50); -} |