add sfx when entering market
This commit is contained in:
		
							parent
							
								
									5b314014a8
								
							
						
					
					
						commit
						7f2242e057
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -527,6 +527,7 @@ function updateGame()
 | 
			
		|||
 | 
			
		||||
	if isOnMarket() then
 | 
			
		||||
		if btnp(5) then -- B (X key)
 | 
			
		||||
			if currentState == GameState.game then sfx(1,68) end
 | 
			
		||||
			currentState = GameState.market
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
| 
						 | 
				
			
			@ -687,6 +688,7 @@ end
 | 
			
		|||
 | 
			
		||||
-- <SFX>
 | 
			
		||||
-- 000:0040004000a000a000f000f010f020f030f040f050f060f070f080f090f0a0f0b0f0c0f0d0f0e0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0400000000000
 | 
			
		||||
-- 001:01f011f021f031f041f061f081f0a1f0c1f0d1f0e1f0f1f0f100010001001100110011002100310041005100610071008100a100c100d100e100f100577000000000
 | 
			
		||||
-- </SFX>
 | 
			
		||||
 | 
			
		||||
-- <PALETTE>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue