Difference between revisions of "CheatCode"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
|11={{#switch:{{#sub:{{{1|}}}|5|1}}
 
|11={{#switch:{{#sub:{{{1|}}}|5|1}}
 +
  |-
 +
  |;
 +
  |:
 +
  | ={{#vardefine:codetype|ARMD}}
 +
  }}{{#switch:{{#sub:{{{1|}}}|6|1}}
 
   |-
 
   |-
 
   |;
 
   |;
Line 20: Line 25:
 
|8={{#vardefine:codetype|ARDC}}
 
|8={{#vardefine:codetype|ARDC}}
 
|#default={{#vardefine:codetype|???}}
 
|#default={{#vardefine:codetype|???}}
}}{{#vardefine:result|{{#replace:{{{1|}}}|?|<span style="color:#FF0000">?</span>}}}}{{
+
}}{{#ifeq:{{#pos:{{{1|}}}|:}}|6|{{#vardefine:codetype|ARMD}}|}}{{#vardefine:result|{{#replace:{{{1|}}}|?|<span class="colour-fg-red"><tt>?</tt></span>}}}}{{
 
#switch:{{#var:codetype}}
 
#switch:{{#var:codetype}}
 
|ARMD
 
|ARMD
 
|ARGG
 
|ARGG
 
|ARSAT
 
|ARSAT
|ARDC={{#vardefine:result|{{#replace:{{#var:result}}|X|<span style="color:#FF0000">X</span>}}}}{{#vardefine:result|{{#replace:{{#var:result}}|Y|<span style="color:#FFFF00">Y</span>}}}}
+
|ARDC={{#vardefine:result|{{#replace:{{#var:result}}|X|<span class="colour-fg-magenta"><tt>X</tt></span>}}}}{{#vardefine:result|{{#replace:{{#var:result}}|Y|<span class="colour-fg-green"><tt>Y</tt></span>}}}}
}}{{#vardefine:</span>{{#var:codetype}} <tt>'''{{#var:result}}'''</tt>{{clearvar|result|codetype}}</includeonly><noinclude>"Standardised" formatting for cheat codes.
+
}}</span><tt>'''{{#var:result}}'''</tt>{{clearvar|result|codetype}}</includeonly><noinclude>"Standardised" formatting for cheat codes.
  
 +
==Mega Drive, Game Genie==
 
<pre>{{CheatCode|ABCD-EFGH}}</pre>
 
<pre>{{CheatCode|ABCD-EFGH}}</pre>
 
*{{CheatCode|ABCD-EFGH}}
 
*{{CheatCode|ABCD-EFGH}}
  
 +
==Mega Drive, Action Replay==
 
<pre>{{CheatCode|ABCDE-FGHIJ}}
 
<pre>{{CheatCode|ABCDE-FGHIJ}}
 
{{CheatCode|ABCDE FGHIJ}}
 
{{CheatCode|ABCDE FGHIJ}}
Line 37: Line 44:
 
{{CheatCode|ABCDE FGH??}}
 
{{CheatCode|ABCDE FGH??}}
 
{{CheatCode|ABCDE FGHXY}}
 
{{CheatCode|ABCDE FGHXY}}
{{CheatCode|ABCDE:XXYY}}
+
{{CheatCode|FFFFD0:0100}}
 +
{{CheatCode|FFFE10:XXYY}}
 +
{{CheatCode|FF021F:XX}}
 
</pre>
 
</pre>
 
*{{CheatCode|ABCDE-FGHIJ}}
 
*{{CheatCode|ABCDE-FGHIJ}}
Line 45: Line 54:
 
*{{CheatCode|ABCDE FGH??}}
 
*{{CheatCode|ABCDE FGH??}}
 
*{{CheatCode|ABCDE FGHXY}}
 
*{{CheatCode|ABCDE FGHXY}}
*{{CheatCode|ABCDE:XXYY}}
+
*{{CheatCode|FFFFD0:0100}}
 +
*{{CheatCode|FFFE10:XXYY}}
 +
*{{CheatCode|FF021F:XX}}
  
 +
==Game Gear, Game Genie==
 
<pre>{{CheatCode|ABC-DEF-GHI}}</pre>
 
<pre>{{CheatCode|ABC-DEF-GHI}}</pre>
 
{{CheatCode|ABC-DEF-GHI}}
 
{{CheatCode|ABC-DEF-GHI}}
  
 +
==Saturn, Action Replay==
 
<pre>{{CheatCode|ABCDEFGH-IJKL}}</pre>
 
<pre>{{CheatCode|ABCDEFGH-IJKL}}</pre>
 
{{CheatCode|ABCDEFGH-IJKL}}
 
{{CheatCode|ABCDEFGH-IJKL}}
  
 +
==Dreamcast, Action Replay==
 
<pre>{{CheatCode|ABCDEFGH}}</pre>
 
<pre>{{CheatCode|ABCDEFGH}}</pre>
 
{{CheatCode|ABCDEFGH}}
 
{{CheatCode|ABCDEFGH}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 13:25, 1 January 2022

"Standardised" formatting for cheat codes.

Mega Drive, Game Genie

{{CheatCode|ABCD-EFGH}}
  • ABCD-EFGH

Mega Drive, Action Replay

{{CheatCode|ABCDE-FGHIJ}}
{{CheatCode|ABCDE FGHIJ}}
{{CheatCode|ABCDE:FGHIJ}}
{{CheatCode|ABCDE;FGHIJ}}
{{CheatCode|ABCDE FGH??}}
{{CheatCode|ABCDE FGHXY}}
{{CheatCode|FFFFD0:0100}}
{{CheatCode|FFFE10:XXYY}}
{{CheatCode|FF021F:XX}}
  • ABCDE-FGHIJ
  • ABCDE FGHIJ
  • ABCDE:FGHIJ
  • ABCDE;FGHIJ
  • ABCDE FGH??
  • ABCDE FGHXY
  • FFFFD0:0100
  • FFFE10:XXYY
  • FF021F:XX

Game Gear, Game Genie

{{CheatCode|ABC-DEF-GHI}}

ABC-DEF-GHI

Saturn, Action Replay

{{CheatCode|ABCDEFGH-IJKL}}

ABCDEFGH-IJKL

Dreamcast, Action Replay

{{CheatCode|ABCDEFGH}}

ABCDEFGH