File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ attack {
35
35
36
36
; Check if we have used all attack slots .
37
37
sub full () -> bool {
38
- if active_attacks == MAX_ATTACKS
39
- return true
40
- return false
38
+ return active_attacks == MAX_ATTACKS
41
39
}
42
40
43
41
; Find free attack slot and start attack run
Original file line number Diff line number Diff line change @@ -492,10 +492,10 @@ _move_down_else
492
492
; Score based on type and pattern
493
493
ubyte add_scr
494
494
add_scr = enemy_score [ enemyRef [EN_TYPE ] ]
495
+
495
496
; Bonus for flight
496
497
if enemyRef [EN_PAT ] > 1 ; Double score when not at base line
497
498
add_scr <<= 1
498
-
499
499
main .add_score (add_scr )
500
500
return true
501
501
} else {
@@ -529,10 +529,7 @@ _move_down_else
529
529
; Get and map to Map from char to nibble ?
530
530
ubyte nibble = convert .to_nibble ( txt .getchr (tmp_x , tmp_y ))
531
531
532
- if nibble & bullet_nib > 0
533
- return true
534
-
535
- return false
532
+ return nibble & bullet_nib > 0
536
533
}
537
534
538
535
; Random chance of dropping bomb per active enemy
You can’t perform that action at this time.
0 commit comments