Merge branch 'master' into Unbound

This commit is contained in:
Skeli
2020-05-12 13:19:58 +03:00
8 changed files with 11 additions and 8 deletions

View File

@@ -30,11 +30,11 @@ DisplayRegionalDexNumHook:
bl bxr1
cmp r0, #0x0
beq UseRegionalDexOrdering
ldr r1, =0x203ACF0
ldr r1, [r1]
add r1, #0x42
ldrb r1, [r1]
cmp r1, #0x0 @;Check if looking at regional dex
ldr r0, =0x203ACF0
ldr r0, [r0]
add r0, #0xC
ldr r0, [r0]
cmp r0, #0x9 @;Check if looking at regional dex
beq UseRegionalDexOrdering
mov r0, r5
ldr r1, =SpeciesToNationalPokedexNum

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 584 B

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -8738,7 +8738,7 @@ const struct ToneData gCryTable[NUM_SPECIES] =
.key = 0x3c,
.length = 0x0,
.pan_sweep = 0x0,
.wav = gCryKyurem,//White,
.wav = gCryKyuremWhite,
.attack = 0xff,
.decay = 0x0,
.sustain = 0xff,

View File

@@ -1546,7 +1546,7 @@ const struct MonCoords gMonFrontPicCoords[NUM_SPECIES] =
[SPECIES_SPINDA] =
{
.size = 0x67,
.y_offset = 0x0,
.y_offset = 0x7,
},
[SPECIES_WINGULL] =
{

View File

@@ -329,16 +329,19 @@ u16 LoadPokedexViews(u8 type)
u16 i, counter, count, lastMeaningfulIndex;
const u16* dexList;
bool8 showUnseenSpecies = FALSE;
bool8 showUncaughtSpecies = FALSE;
switch (type) {
case 0:
dexList = gPokedexOrder_Regional;
count = gRegionalDexCount;
showUnseenSpecies = TRUE;
showUncaughtSpecies = TRUE;
break;
case 1:
dexList = gPokedexOrder_Alphabetical;
count = gPokedexOrderAlphabeticalCount;
showUncaughtSpecies = TRUE;
break;
case 2:
dexList = gPokedexOrder_Type;
@@ -371,7 +374,7 @@ u16 LoadPokedexViews(u8 type)
gPokedexScreenDataPtr->listItem[counter++].id = species | (0 << 16); //Unseen
}
}
else
else if (caught || showUncaughtSpecies)
{
lastMeaningfulIndex = counter + 1;
gPokedexScreenDataPtr->listItem[counter].name = gSpeciesNames[species];