Small screen slam fix.
This commit is contained in:
		
							parent
							
								
									dd61282ebd
								
							
						
					
					
						commit
						91d1504e27
					
				
							
								
								
									
										
											BIN
										
									
								
								bin/DMGTRIS.GBC
								
								
								
								
							
							
						
						
									
										
											BIN
										
									
								
								bin/DMGTRIS.GBC
								
								
								
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										2916
									
								
								bin/DMGTRIS.map
								
								
								
								
							
							
						
						
									
										2916
									
								
								bin/DMGTRIS.map
								
								
								
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										2648
									
								
								bin/DMGTRIS.sym
								
								
								
								
							
							
						
						
									
										2648
									
								
								bin/DMGTRIS.sym
								
								
								
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
					@ -1402,7 +1402,7 @@ FieldProcess::
 | 
				
			||||||
.wantleft
 | 
					.wantleft
 | 
				
			||||||
    ldh a, [hCurrentPieceX]
 | 
					    ldh a, [hCurrentPieceX]
 | 
				
			||||||
    cp a, 0
 | 
					    cp a, 0
 | 
				
			||||||
    jr z, .wantright
 | 
					    jr z, .precheckright
 | 
				
			||||||
    ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
 | 
					    ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
 | 
				
			||||||
    cp a, 1
 | 
					    cp a, 1
 | 
				
			||||||
    jr z, .doleft
 | 
					    jr z, .doleft
 | 
				
			||||||
| 
						 | 
					@ -1421,6 +1421,11 @@ FieldProcess::
 | 
				
			||||||
    ldh [hWantX], a
 | 
					    ldh [hWantX], a
 | 
				
			||||||
    jr .trymove
 | 
					    jr .trymove
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.precheckright
 | 
				
			||||||
 | 
					    ldh a, [hRightState]
 | 
				
			||||||
 | 
					    cp a, 0
 | 
				
			||||||
 | 
					    jr z, .nomove
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ; Do we want to move right?
 | 
					    ; Do we want to move right?
 | 
				
			||||||
.wantright
 | 
					.wantright
 | 
				
			||||||
    ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
 | 
					    ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
 | 
				
			||||||
| 
						 | 
					@ -3700,7 +3705,7 @@ BigFieldProcess::
 | 
				
			||||||
.wantleft
 | 
					.wantleft
 | 
				
			||||||
    ldh a, [hCurrentPieceX]
 | 
					    ldh a, [hCurrentPieceX]
 | 
				
			||||||
    cp a, 0
 | 
					    cp a, 0
 | 
				
			||||||
    jr z, .wantright
 | 
					    jr z, .precheckright
 | 
				
			||||||
    ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
 | 
					    ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
 | 
				
			||||||
    cp a, 1
 | 
					    cp a, 1
 | 
				
			||||||
    jr z, .doleft
 | 
					    jr z, .doleft
 | 
				
			||||||
| 
						 | 
					@ -3719,6 +3724,11 @@ BigFieldProcess::
 | 
				
			||||||
    ldh [hWantX], a
 | 
					    ldh [hWantX], a
 | 
				
			||||||
    jr .trymove
 | 
					    jr .trymove
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.precheckright
 | 
				
			||||||
 | 
					    ldh a, [hRightState]
 | 
				
			||||||
 | 
					    cp a, 0
 | 
				
			||||||
 | 
					    jr z, .nomove
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ; Do we want to move right?
 | 
					    ; Do we want to move right?
 | 
				
			||||||
.wantright
 | 
					.wantright
 | 
				
			||||||
    ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
 | 
					    ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue