mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-10-16 04:04:39 +13:00
Nihon Music Attempt
This commit is contained in:
parent
05e2cdc3d2
commit
7f7ff6dc0b
|
@ -150,6 +150,11 @@ SECTION "Extra Songs 2", ROMX
|
|||
INCLUDE "audio/music/postcredits.asm"
|
||||
|
||||
|
||||
SECTION "New Songs", ROMX
|
||||
|
||||
INCLUDE "audio/music/nihontest.asm"
|
||||
|
||||
|
||||
SECTION "Sound Effects", ROMX
|
||||
|
||||
INCLUDE "audio/sfx.asm"
|
||||
|
|
|
@ -1,265 +1,267 @@
|
|||
Music_NihonTest:
|
||||
Music_NihonTown01:
|
||||
channel_count 4
|
||||
channel 1, Music_NihonTest_Ch1
|
||||
channel 2, Music_NihonTest_Ch2
|
||||
channel 3, Music_NihonTest_Ch3
|
||||
channel 4, Music_NihonTest_Ch4
|
||||
channel 1, Music_NihonTown01_Ch1
|
||||
channel 2, Music_NihonTown01_Ch2
|
||||
channel 3, Music_NihonTown01_Ch3
|
||||
channel 4, Music_NihonTown01_Ch4
|
||||
|
||||
Music_NihonTest_Ch1:
|
||||
Music_NihonTown01_Ch1:
|
||||
tempo 256
|
||||
volume 7, 7
|
||||
note_type 12, 15, 8
|
||||
stereo_panning TRUE, FALSE
|
||||
.mainLoop:
|
||||
duty_cycle 0
|
||||
volume_envelope 15, 8
|
||||
transpose 2, 0
|
||||
octave 3
|
||||
tempo 107
|
||||
note A_, 4
|
||||
rest 4
|
||||
octave 4
|
||||
note C_, 4
|
||||
rest 4
|
||||
octave 3
|
||||
note A_, 4
|
||||
volume_envelope 13, 8
|
||||
transpose 0, 0
|
||||
note D#, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
note F#, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
octave 4
|
||||
note C_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note F#, 4
|
||||
rest 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
octave 2
|
||||
note A#, 4
|
||||
octave 3
|
||||
note G_, 4
|
||||
rest 4
|
||||
note E_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
note F_, 4
|
||||
rest 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note G#, 4
|
||||
rest 4
|
||||
octave 2
|
||||
note B_, 4
|
||||
octave 3
|
||||
rest 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
octave 2
|
||||
note B_, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
rest 4
|
||||
octave 4
|
||||
note D_, 4
|
||||
.loop1:
|
||||
octave 2
|
||||
note A#, 4
|
||||
rest 4
|
||||
note B_, 4
|
||||
octave 3
|
||||
note F_, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note F_, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note E_, 4
|
||||
note G#, 4
|
||||
rest 4
|
||||
note F_, 4
|
||||
note F#, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
rest 4
|
||||
octave 4
|
||||
note D_, 4
|
||||
rest 4
|
||||
note C_, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
octave 2
|
||||
note G#, 4
|
||||
octave 3
|
||||
note G_, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note D_, 4
|
||||
octave 2
|
||||
note A#, 4
|
||||
octave 3
|
||||
rest 4
|
||||
note G_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
note E_, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
octave 2
|
||||
note A#, 4
|
||||
octave 3
|
||||
rest 4
|
||||
note A_, 4
|
||||
rest 4
|
||||
note E_, 4
|
||||
rest 4
|
||||
note G_, 4
|
||||
note C#, 4
|
||||
rest 4
|
||||
octave 8
|
||||
sound_loop 2, .loop1
|
||||
sound_loop 0, .mainLoop
|
||||
|
||||
Music_NihonTest_Ch2:
|
||||
Music_NihonTown01_Ch2:
|
||||
note_type 12, 15, 8
|
||||
stereo_panning FALSE, TRUE
|
||||
.mainLoop:
|
||||
duty_cycle 2
|
||||
octave 4
|
||||
transpose 1, 0
|
||||
note B_, 4
|
||||
note C_, 4
|
||||
note C_, 4
|
||||
note C_, 4
|
||||
note G_, 4
|
||||
octave 3
|
||||
note G_, 4
|
||||
note G_, 4
|
||||
note G_, 4
|
||||
duty_cycle 2
|
||||
octave 5
|
||||
volume_envelope 10, 8
|
||||
note F_, 4
|
||||
octave 4
|
||||
note A_, 4
|
||||
octave 3
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
note F#, 4
|
||||
note F#, 4
|
||||
note F#, 4
|
||||
octave 5
|
||||
note C#, 4
|
||||
octave 4
|
||||
note E_, 4
|
||||
octave 3
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note C#, 4
|
||||
note C#, 4
|
||||
note C#, 4
|
||||
octave 5
|
||||
note D#, 4
|
||||
octave 4
|
||||
note E_, 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
note A#, 4
|
||||
octave 3
|
||||
note G_, 4
|
||||
note G_, 4
|
||||
note G_, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
octave 4
|
||||
note D_, 4
|
||||
note A#, 4
|
||||
note C#, 4
|
||||
note C#, 4
|
||||
note C#, 4
|
||||
note G#, 4
|
||||
octave 3
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
octave 4
|
||||
note D_, 4
|
||||
note G#, 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
note F#, 4
|
||||
octave 3
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
octave 4
|
||||
note C_, 4
|
||||
octave 3
|
||||
note C_, 4
|
||||
note C_, 4
|
||||
note C_, 4
|
||||
note F#, 4
|
||||
note F#, 4
|
||||
note F#, 4
|
||||
.loop1:
|
||||
rest 4
|
||||
octave 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
rest 4
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
rest 4
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note D_, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
note G#, 4
|
||||
rest 4
|
||||
note F_, 4
|
||||
note F_, 4
|
||||
note F_, 4
|
||||
rest 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
note D#, 4
|
||||
rest 4
|
||||
note F_, 4
|
||||
note F_, 4
|
||||
note F_, 4
|
||||
rest 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
rest 4
|
||||
octave 3
|
||||
note B_, 4
|
||||
note B_, 4
|
||||
note B_, 4
|
||||
rest 4
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
note A_, 4
|
||||
rest 4
|
||||
note B_, 4
|
||||
note B_, 4
|
||||
note B_, 4
|
||||
rest 4
|
||||
octave 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
rest 4
|
||||
octave 3
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note E_, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
note A#, 4
|
||||
octave 8
|
||||
sound_loop 2, .loop1
|
||||
sound_loop 0, .mainLoop
|
||||
|
||||
Music_NihonTest_Ch3:
|
||||
Music_NihonTown01_Ch3:
|
||||
note_type 12, 1, 0
|
||||
.mainLoop:
|
||||
note_type 12, 1, 0
|
||||
volume_envelope 1, 3
|
||||
octave 5
|
||||
vibrato 4, 2, 5
|
||||
volume_envelope 1, 6
|
||||
note D_, 2
|
||||
note E_, 2
|
||||
note E_, 1
|
||||
note F_, 7
|
||||
note D_, 8
|
||||
octave 4
|
||||
note B_, 12
|
||||
octave 5
|
||||
note C_, 2
|
||||
note D_, 2
|
||||
note D_, 1
|
||||
note E_, 1
|
||||
vibrato 7, 1, 9
|
||||
note G#, 2
|
||||
note A#, 2
|
||||
note A#, 1
|
||||
note B_, 7
|
||||
note G#, 8
|
||||
note F_, 12
|
||||
note F#, 2
|
||||
note G#, 2
|
||||
note G#, 1
|
||||
note A#, 1
|
||||
rest 2
|
||||
note E_, 2
|
||||
note A#, 2
|
||||
rest 2
|
||||
note C_, 2
|
||||
note F#, 2
|
||||
rest 2
|
||||
note C_, 2
|
||||
note F#, 2
|
||||
rest 2
|
||||
octave 4
|
||||
note G_, 12
|
||||
note A_, 2
|
||||
octave 5
|
||||
note C_, 2
|
||||
note C_, 1
|
||||
note D_, 7
|
||||
octave 4
|
||||
note B_, 8
|
||||
note G_, 4
|
||||
octave 5
|
||||
note C_, 1
|
||||
note D_, 7
|
||||
octave 4
|
||||
note B_, 4
|
||||
octave 5
|
||||
vibrato 5, 2, 5
|
||||
note C_, 14
|
||||
vibrato 0, 2, 5
|
||||
note C_, 14
|
||||
vibrato 4, 2, 5
|
||||
octave 4
|
||||
note A_, 4
|
||||
note B_, 1
|
||||
octave 5
|
||||
note C_, 11
|
||||
octave 4
|
||||
note B_, 4
|
||||
note G_, 12
|
||||
note C#, 12
|
||||
note D#, 2
|
||||
note F#, 2
|
||||
note F#, 1
|
||||
note G#, 7
|
||||
note F_, 8
|
||||
note C#, 4
|
||||
note F#, 1
|
||||
note G#, 7
|
||||
note F_, 4
|
||||
note A_, 1
|
||||
note B_, 3
|
||||
note A_, 4
|
||||
vibrato 5, 1, 9
|
||||
note F#, 14
|
||||
vibrato 0, 1, 9
|
||||
note F#, 14
|
||||
.loop1:
|
||||
octave 5
|
||||
note C_, 4
|
||||
octave 4
|
||||
note E_, 4
|
||||
vibrato 7, 1, 9
|
||||
note D#, 4
|
||||
note F_, 1
|
||||
note G_, 11
|
||||
note D_, 4
|
||||
note E_, 1
|
||||
note F_, 11
|
||||
note A_, 4
|
||||
note G_, 12
|
||||
note F#, 11
|
||||
note F_, 4
|
||||
note C#, 12
|
||||
octave 4
|
||||
note B_, 4
|
||||
octave 5
|
||||
note D#, 1
|
||||
note F_, 3
|
||||
note D#, 4
|
||||
note F#, 4
|
||||
octave 4
|
||||
note A#, 4
|
||||
note B_, 1
|
||||
octave 5
|
||||
note C_, 11
|
||||
vibrato 0, 2, 5
|
||||
note C_, 16
|
||||
note C#, 11
|
||||
octave 4
|
||||
note G#, 4
|
||||
note A#, 1
|
||||
note B_, 11
|
||||
octave 5
|
||||
note D#, 4
|
||||
note C#, 12
|
||||
note F_, 4
|
||||
note F_, 1
|
||||
note F#, 11
|
||||
vibrato 0, 1, 9
|
||||
note F#, 16
|
||||
octave 8
|
||||
sound_loop 2, .loop1
|
||||
sound_loop 0, .mainLoop
|
||||
|
||||
Music_NihonTest_Ch4:
|
||||
Music_NihonTown01_Ch4:
|
||||
toggle_noise 0
|
||||
drum_speed 12
|
||||
.mainLoop:
|
||||
|
@ -293,8 +295,12 @@ Music_NihonTest_Ch4:
|
|||
rest 15
|
||||
drum_note 1, 1
|
||||
rest 3
|
||||
.loop1:
|
||||
drum_speed 12
|
||||
drum_note 1, 1
|
||||
rest 1
|
||||
drum_speed 1
|
||||
rest 12
|
||||
drum_speed 12
|
||||
drum_note 1, 1
|
||||
rest 9
|
||||
drum_note 1, 1
|
||||
|
@ -326,4 +332,5 @@ Music_NihonTest_Ch4:
|
|||
drum_note 1, 1
|
||||
octave 8
|
||||
rest 3
|
||||
sound_loop 0, .loop1
|
||||
sound_loop 0, .mainLoop
|
||||
|
|
|
@ -107,4 +107,5 @@ Music:
|
|||
dba Music_SuicuneBattle
|
||||
dba Music_BattleTowerLobby
|
||||
dba Music_MobileCenter
|
||||
dba Music_NihonTown01
|
||||
assert_table_length NUM_MUSIC_SONGS
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
const MUSIC_SUICUNE_BATTLE ; 64
|
||||
const MUSIC_BATTLE_TOWER_LOBBY ; 65
|
||||
const MUSIC_MOBILE_CENTER ; 66
|
||||
const MUSIC_NIHON_TOWN_01 ; 67
|
||||
DEF NUM_MUSIC_SONGS EQU const_value
|
||||
|
||||
; GetMapMusic picks music for this value (see home/map.asm)
|
||||
|
|
|
@ -549,5 +549,5 @@ MapGroup_Cherrygrove:
|
|||
|
||||
MapGroup_SilentHills:
|
||||
table_width MAP_LENGTH, MapGroup_SilentHills
|
||||
map SilentHills, TILESET_NIHON_01, TOWN, LANDMARK_SILENT_HILLS, MUSIC_NEW_BARK_TOWN, TRUE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
map SilentHills, TILESET_NIHON_01, TOWN, LANDMARK_SILENT_HILLS, MUSIC_NIHON_TOWN_01, TRUE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
assert_table_length NUM_SILENT_HILLS_MAPS
|
||||
|
|
|
@ -123,6 +123,6 @@
|
|||
tilecoll WATER, WATER, WATER, WATER ; 7a
|
||||
tilecoll WALL, WALL, WALL, WALL ; 7b
|
||||
tilecoll WALL, WALL, WALL, WALL ; 7c
|
||||
tilecoll WALL, WALL, FLOOR, FLOOR ; 7d
|
||||
tilecoll WALL, WALL, WALL, WALL ; 7d
|
||||
tilecoll WALL, DOOR, FLOOR, FLOOR ; 7e
|
||||
tilecoll WALL, WALL, FLOOR, FLOOR ; 7f
|
||||
|
|
|
@ -145,7 +145,7 @@ PlayersHouse2F_MapEvents:
|
|||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 7, 0, SILENT_HILLS, 1
|
||||
warp_event 7, 0, PLAYERS_HOUSE_1F, 3
|
||||
|
||||
def_coord_events
|
||||
|
||||
|
|
Loading…
Reference in a new issue