map: mapgen now will not generate the same room twice in a row
authorLukas Krickl <lukas@krickl.dev>
Mon, 6 Jan 2025 06:37:05 +0000 (07:37 +0100)
committerLukas Krickl <lukas@krickl.dev>
Mon, 6 Jan 2025 06:37:05 +0000 (07:37 +0100)
commit129d9c7a0e45a3d5276088da07475bd165297bc3
tree151007e1f89b245ee5cf5a2e6af0750d22ee7eba
parentf17446f3d261e710703ba4d478ddf4294a9ae3cb
map: mapgen now will not generate the same room twice in a row

This is simply done by calling rand again if the room is the same as the
previous room.
src/map.s
src/wram.s