Pret merge (5th of November) (#5644)
This commit is contained in:
commit
123fa09e22
7 changed files with 15 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -342,6 +342,8 @@ include audio_rules.mk
|
|||
# NOTE: Tools must have been built prior (FIXME)
|
||||
# so you can't really call this rule directly
|
||||
generated: $(AUTO_GEN_TARGETS)
|
||||
@: # Silence the "Nothing to be done for `generated'" message, which some people were confusing for an error.
|
||||
|
||||
|
||||
%.s: ;
|
||||
%.png: ;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -21,6 +21,7 @@ POKEDEXGFXDIR := graphics/pokedex
|
|||
STARTERGFXDIR := graphics/starter_choose
|
||||
NAMINGGFXDIR := graphics/naming_screen
|
||||
SPINDAGFXDIR := graphics/pokemon/spinda/spots
|
||||
TITLESCREENGFXDIR := graphics/title_screen
|
||||
|
||||
types := none normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark fairy stellar
|
||||
contest_types := cool beauty cute smart tough
|
||||
|
@ -270,9 +271,13 @@ $(FONTGFXDIR)/frlg_female.fwjpnfont: $(FONTGFXDIR)/japanese_frlg_female.png
|
|||
|
||||
|
||||
### Miscellaneous ###
|
||||
graphics/title_screen/pokemon_logo.gbapal: %.gbapal: %.pal
|
||||
|
||||
$(TITLESCREENGFXDIR)/pokemon_logo.gbapal: %.gbapal: %.pal
|
||||
$(GFX) $< $@ -num_colors 224
|
||||
|
||||
$(TITLESCREENGFXDIR)/emerald_version.8bpp: %.8bpp: %.png
|
||||
$(GFX) $< $@ -mwidth 8 -mheight 4
|
||||
|
||||
graphics/pokemon_jump/bg.4bpp: %.4bpp: %.png
|
||||
$(GFX) $< $@ -num_tiles 63 -Wnum_tiles
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef GUARD_BARD_MUSIC_H
|
||||
#define GUARD_BARD_MUSIC_H
|
||||
|
||||
#define BARD_SOUND_MAX_LENGTH 6
|
||||
|
||||
struct BardSound
|
||||
{
|
||||
/*0x00*/ u8 songLengthId;
|
||||
|
@ -26,8 +28,8 @@ struct BardSong
|
|||
/*0x06*/ u16 volume;
|
||||
/*0x08*/ s16 pitch;
|
||||
/*0x0A*/ s16 voiceInflection;
|
||||
/*0x0C*/ u16 lyrics[6];
|
||||
/*0x18*/ struct BardPhoneme phonemes[6];
|
||||
/*0x0C*/ u16 lyrics[BARD_SOUND_MAX_LENGTH];
|
||||
/*0x18*/ struct BardPhoneme phonemes[BARD_SOUND_MAX_LENGTH];
|
||||
/*0x30*/ const struct BardSound *sound;
|
||||
};
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ void GetWordPhonemes(struct BardSong *song, u16 word)
|
|||
const struct BardSound *sound;
|
||||
|
||||
song->length = 0;
|
||||
for (i = 0; i < 6; i ++)
|
||||
for (i = 0; i < BARD_SOUND_MAX_LENGTH; i ++)
|
||||
{
|
||||
sound = &song->sound[i];
|
||||
if (sound->songLengthId != 0xFF)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
const u16 gNumBardWords_Moves = MOVES_COUNT;
|
||||
|
||||
const struct BardSound gBardSounds_Moves[MOVES_COUNT][6] = {
|
||||
const struct BardSound gBardSounds_Moves[MOVES_COUNT][BARD_SOUND_MAX_LENGTH] = {
|
||||
[MOVE_NONE] = {
|
||||
NULL_BARD_SOUND,
|
||||
NULL_BARD_SOUND,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
const u16 gNumBardWords_Species = NUM_SPECIES;
|
||||
|
||||
const struct BardSound gBardSounds_Pokemon[NUM_SPECIES][6] = {
|
||||
const struct BardSound gBardSounds_Pokemon[NUM_SPECIES][BARD_SOUND_MAX_LENGTH] = {
|
||||
[SPECIES_NONE] = {
|
||||
NULL_BARD_SOUND,
|
||||
NULL_BARD_SOUND,
|
||||
|
|
Loading…
Reference in a new issue