Beispiel #1
0
 private void cboDirection_SelectedIndexChanged(object sender, EventArgs e)
 {
     TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value];
     t.direction = (byte)cboDirection.SelectedIndex;
     transitionLoader.transitions[(int)nIndex.Value] = t;
 }
Beispiel #2
0
 private void nUknown2_ValueChanged(object sender, EventArgs e)
 {
     TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value];
     t.to = PaletteLoader.GetPaletteAddress(gb, game, (int)nTo.Value);
     transitionLoader.transitions[(int)nIndex.Value] = t;
 }
Beispiel #3
0
 private void nMap_ValueChanged(object sender, EventArgs e)
 {
     TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value];
     t.map = (byte)nMap.Value;
     transitionLoader.transitions[(int)nIndex.Value] = t;
 }