Random start birds order

This commit is contained in:
Pecusx
2025-06-23 12:32:16 +02:00
parent 1dbf64dec1
commit f03774a692
2 changed files with 7 additions and 1 deletions
+7 -1
View File
@@ -1583,7 +1583,13 @@ EndOfStartScreen
mva GameColors+c_red COLOR2 ; red
mva GameColors+c_light_brown COLOR3 ; light brown
mva #$00 birds_order ; standard birds order
ldy #$ff
lda RANDOM
and #%00000011 ; randomize bird order: 11, 10, 01 - stabdard / 00 - reverse
beq reverse_birds
iny
reverse_birds
sty birds_order ; set birds order
jsr LevelReset
jsr InitBranches
jsr draw_branches
BIN
View File
Binary file not shown.