mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 12:37:38 +01:00
33 lines
419 B
C
33 lines
419 B
C
|
|
||
|
// Includes
|
||
|
#include "global.h"
|
||
|
|
||
|
// Static type declarations
|
||
|
|
||
|
// Static RAM declarations
|
||
|
|
||
|
// Static ROM declarations
|
||
|
|
||
|
// .rodata
|
||
|
|
||
|
// .text
|
||
|
|
||
|
u32 sub_81D1574(u8 *a)
|
||
|
{
|
||
|
switch (*a)
|
||
|
{
|
||
|
case 0:
|
||
|
default:
|
||
|
return 0;
|
||
|
case 1:
|
||
|
case 5:
|
||
|
return 1;
|
||
|
case 2:
|
||
|
return 2;
|
||
|
case 4:
|
||
|
return 3;
|
||
|
case 3:
|
||
|
return 4;
|
||
|
}
|
||
|
}
|