Skip to content

Instantly share code, notes, and snippets.

View evolutional's full-sized avatar

Oli Wilkinson evolutional

View GitHub Profile
; Pseudo random RNG based on the Linear Feedback Shift Register
; See descripton: https://meatfighter.com/nintendotetrisai/#Picking_Tetriminos
rng_lfsr:
.dw $8988 ; seed used in Tetris
; Returns:
; HL new 16 bit rng
; Destroyed:
; B
@evolutional
evolutional / git.scmconfig.xml
Last active December 9, 2016 08:00
GameMaker 1.4 Git SCM Settings
<SCM_Config>
<SCM_Commands>
<pre-add></pre-add>
<add>add</add>
<post-add></post-add>
<pre-blame></pre-blame>
<blame>blame</blame>
<post-blame></post-blame>
<pre-changelog></pre-changelog>
<changelog>show</changelog>